Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Print / Reach / SerializerFactory / XpsSerializerFactory.cs / 1 / XpsSerializerFactory.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Implements a Plug-in document serializer factory for the XpsDocumentWriter // // See spec at// // History: // 07/16/2005 : [....] - Created // //--------------------------------------------------------------------------- namespace System.Windows.Xps.Serialization { using System; using System.IO; using System.Printing; using System.Windows.Xps; using System.Windows.Documents.Serialization; using System.Windows.Xps.Serialization; /// /// SerializerFactory is the factory class for the SerializerWriter that wraps an XPSDocumentSerializer /// public sealed class XpsSerializerFactory : ISerializerFactory { #region Constructors ////// creates a SerializerFactory /// public XpsSerializerFactory() { } #endregion #region ISerializerFactory Implementation ////// Create a SerializerWriter on the passed in stream /// public SerializerWriter CreateSerializerWriter(Stream stream) { return new XpsSerializerWriter(stream); } ////// Return the DisplayName of the serializer. /// public string DisplayName { get { return ReachSR.Get(ReachSRID.XpsSerializerFactory_DisplayName); } } ////// Return the ManufacturerName of the serializer. /// public string ManufacturerName { get { return ReachSR.Get(ReachSRID.XpsSerializerFactory_ManufacturerName); } } ////// Return the ManufacturerWebsite of the serializer. /// public Uri ManufacturerWebsite { get { return new Uri(ReachSR.Get(ReachSRID.XpsSerializerFactory_ManufacturerWebsite)); } } ////// Return the DefaultFileExtension of the serializer. /// public string DefaultFileExtension { get { return ".xps"; } } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PeerTransportBindingElement.cs
- ReadContentAsBinaryHelper.cs
- Popup.cs
- CharEntityEncoderFallback.cs
- DSACryptoServiceProvider.cs
- RecipientInfo.cs
- IncrementalCompileAnalyzer.cs
- XmlPreloadedResolver.cs
- OleTxTransaction.cs
- UniqueTransportManagerRegistration.cs
- AutomationInteropProvider.cs
- OdbcTransaction.cs
- X509SecurityToken.cs
- HebrewNumber.cs
- Matrix3D.cs
- Point3DAnimationUsingKeyFrames.cs
- AuthenticatingEventArgs.cs
- ImageAutomationPeer.cs
- TreeNodeStyle.cs
- ConfigurationElementCollection.cs
- BufferAllocator.cs
- GridPattern.cs
- HtmlInputControl.cs
- SqlUdtInfo.cs
- EntityClassGenerator.cs
- PenContext.cs
- DataReceivedEventArgs.cs
- Type.cs
- XamlStream.cs
- Match.cs
- MediaContext.cs
- Compiler.cs
- AppliedDeviceFiltersDialog.cs
- PropertyAccessVisitor.cs
- SqlDataSourceStatusEventArgs.cs
- SqlNodeAnnotations.cs
- UnknownWrapper.cs
- FileStream.cs
- HostProtectionException.cs
- RegisteredHiddenField.cs
- InstanceDataCollection.cs
- DataGridViewSelectedCellCollection.cs
- PropertyGridCommands.cs
- EditingScopeUndoUnit.cs
- BitmapEffectState.cs
- UriTemplate.cs
- ProfilePropertyMetadata.cs
- TypeDescriptor.cs
- SamlSubjectStatement.cs
- ClrPerspective.cs
- StateMachineWorkflowInstance.cs
- StreamInfo.cs
- RightsManagementEncryptionTransform.cs
- PersistenceTypeAttribute.cs
- SQLChars.cs
- MemberPathMap.cs
- EmptyEnumerator.cs
- XmlSchemaAttributeGroup.cs
- LeaseManager.cs
- DependencyPropertyKind.cs
- SqlServer2KCompatibilityAnnotation.cs
- RichTextBoxAutomationPeer.cs
- SrgsRulesCollection.cs
- JsonQueryStringConverter.cs
- Matrix3D.cs
- Italic.cs
- XmlSchemaObjectTable.cs
- Logging.cs
- ItemList.cs
- _Win32.cs
- EntryWrittenEventArgs.cs
- XmlStreamNodeWriter.cs
- ClientCultureInfo.cs
- RegexRunner.cs
- CreateUserWizardStep.cs
- HtmlUtf8RawTextWriter.cs
- ColorAnimation.cs
- DesignerObject.cs
- RTTypeWrapper.cs
- DataRowComparer.cs
- TcpClientCredentialType.cs
- SecurityBindingElement.cs
- EventMappingSettingsCollection.cs
- XpsFontSubsetter.cs
- GeneratedCodeAttribute.cs
- TrustLevelCollection.cs
- SpanIndex.cs
- HttpRequestCacheValidator.cs
- ContextDataSourceContextData.cs
- KeyValueConfigurationElement.cs
- CodeObject.cs
- AuthenticationModulesSection.cs
- TableItemStyle.cs
- MetadataPropertyvalue.cs
- AutoFocusStyle.xaml.cs
- ProtocolsConfigurationEntry.cs
- COM2PropertyPageUITypeConverter.cs
- ListViewHitTestInfo.cs
- ImageProxy.cs
- WindowsAuthenticationEventArgs.cs