Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CommonUI / System / Drawing / Advanced / WmfPlaceableFileHeader.cs / 1 / WmfPlaceableFileHeader.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Imaging { using System.Diagnostics; using System; using System.Drawing; using System.Runtime.InteropServices; ////// /// Defines an Placeable Metafile. /// [StructLayout(LayoutKind.Sequential)] public sealed class WmfPlaceableFileHeader { int key = unchecked((int)0x9aC6CDD7); short hmf; short bboxLeft; short bboxTop; short bboxRight; short bboxBottom; short inch; int reserved; short checksum; ////// /// Indicates the presence of a placeable /// metafile header. /// public int Key { get { return key; } set { key = value; } } ////// /// Stores the handle of the metafile in /// memory. /// public short Hmf { get { return hmf; } set { hmf = value; } } ////// /// The x-coordinate of the upper-left corner /// of the bounding rectangle of the metafile image on the output device. /// public short BboxLeft { get { return bboxLeft; } set { bboxLeft = value; } } ////// /// public short BboxTop { get { return bboxTop; } set { bboxTop = value; } } ////// The y-coordinate of the upper-left corner of the bounding rectangle of the /// metafile image on the output device. /// ////// /// public short BboxRight { get { return bboxRight; } set { bboxRight = value; } } ////// The x-coordinate of the lower-right corner of the bounding rectangle of the /// metafile image on the output device. /// ////// /// public short BboxBottom { get { return bboxBottom; } set { bboxBottom = value; } } ////// The y-coordinate of the lower-right corner of the bounding rectangle of the /// metafile image on the output device. /// ////// /// Indicates the number of twips per inch. /// public short Inch { get { return inch; } set { inch = value; } } ////// /// Reserved. Do not use. /// public int Reserved { get { return reserved; } set { reserved = value; } } ////// /// public short Checksum { get { return checksum; } set { checksum = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Indicates the checksum value for the /// previous ten WORDs in the header. /// ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Imaging { using System.Diagnostics; using System; using System.Drawing; using System.Runtime.InteropServices; ////// /// Defines an Placeable Metafile. /// [StructLayout(LayoutKind.Sequential)] public sealed class WmfPlaceableFileHeader { int key = unchecked((int)0x9aC6CDD7); short hmf; short bboxLeft; short bboxTop; short bboxRight; short bboxBottom; short inch; int reserved; short checksum; ////// /// Indicates the presence of a placeable /// metafile header. /// public int Key { get { return key; } set { key = value; } } ////// /// Stores the handle of the metafile in /// memory. /// public short Hmf { get { return hmf; } set { hmf = value; } } ////// /// The x-coordinate of the upper-left corner /// of the bounding rectangle of the metafile image on the output device. /// public short BboxLeft { get { return bboxLeft; } set { bboxLeft = value; } } ////// /// public short BboxTop { get { return bboxTop; } set { bboxTop = value; } } ////// The y-coordinate of the upper-left corner of the bounding rectangle of the /// metafile image on the output device. /// ////// /// public short BboxRight { get { return bboxRight; } set { bboxRight = value; } } ////// The x-coordinate of the lower-right corner of the bounding rectangle of the /// metafile image on the output device. /// ////// /// public short BboxBottom { get { return bboxBottom; } set { bboxBottom = value; } } ////// The y-coordinate of the lower-right corner of the bounding rectangle of the /// metafile image on the output device. /// ////// /// Indicates the number of twips per inch. /// public short Inch { get { return inch; } set { inch = value; } } ////// /// Reserved. Do not use. /// public int Reserved { get { return reserved; } set { reserved = value; } } ////// /// public short Checksum { get { return checksum; } set { checksum = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Indicates the checksum value for the /// previous ten WORDs in the header. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HwndTarget.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- HideDisabledControlAdapter.cs
- XmlElementCollection.cs
- listitem.cs
- ChannelTerminatedException.cs
- StyleXamlParser.cs
- DataObjectCopyingEventArgs.cs
- BehaviorEditorPart.cs
- NameSpaceExtractor.cs
- PermissionAttributes.cs
- AnimationClockResource.cs
- AnnotationService.cs
- odbcmetadatafactory.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- RuleDefinitions.cs
- SatelliteContractVersionAttribute.cs
- GraphicsContext.cs
- MenuCommandService.cs
- Hashtable.cs
- Pen.cs
- QueryAccessibilityHelpEvent.cs
- CodeBlockBuilder.cs
- ContainerActivationHelper.cs
- UrlMappingsModule.cs
- DocumentApplicationJournalEntry.cs
- FtpWebRequest.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- AccessedThroughPropertyAttribute.cs
- VisualStyleTypesAndProperties.cs
- EffectiveValueEntry.cs
- TextFragmentEngine.cs
- SqlTypeSystemProvider.cs
- DataControlFieldCollection.cs
- QilTypeChecker.cs
- TripleDESCryptoServiceProvider.cs
- TextTreeText.cs
- ProviderConnectionPoint.cs
- OracleBoolean.cs
- ToolTipService.cs
- WindowInteropHelper.cs
- HostedTransportConfigurationBase.cs
- TextHidden.cs
- MexNamedPipeBindingCollectionElement.cs
- ModelItemCollection.cs
- MethodImplAttribute.cs
- HttpRequest.cs
- XmlWriter.cs
- RectConverter.cs
- DataGridCellClipboardEventArgs.cs
- XmlWrappingReader.cs
- EventSourceCreationData.cs
- GlyphsSerializer.cs
- BufferedGraphics.cs
- StartUpEventArgs.cs
- DesignerLoader.cs
- XPathNode.cs
- DataRecordObjectView.cs
- ListControlConvertEventArgs.cs
- TheQuery.cs
- BitmapEffectGeneralTransform.cs
- MimeObjectFactory.cs
- DelegatedStream.cs
- SqlTransaction.cs
- ScriptResourceHandler.cs
- CryptoProvider.cs
- RootProfilePropertySettingsCollection.cs
- safesecurityhelperavalon.cs
- ToolStripStatusLabel.cs
- TcpClientSocketManager.cs
- ValidatingReaderNodeData.cs
- SerializationFieldInfo.cs
- Stack.cs
- StructuredCompositeActivityDesigner.cs
- QuerySettings.cs
- MarkupCompiler.cs
- PrintEvent.cs
- XdrBuilder.cs
- DBPropSet.cs
- HatchBrush.cs
- HttpValueCollection.cs
- DataGridTablesFactory.cs
- SqlDataSourceDesigner.cs
- ColorPalette.cs
- SingleObjectCollection.cs
- TextDocumentView.cs
- MessageCredentialType.cs
- PrintController.cs
- HostProtectionException.cs
- RoleManagerModule.cs
- Rethrow.cs
- HtmlTableRow.cs
- TypeRefElement.cs
- CodeEntryPointMethod.cs
- ProfileService.cs
- KeyValueConfigurationCollection.cs
- TreeNodeCollectionEditor.cs
- ConversionContext.cs
- SimpleType.cs
- ScriptingScriptResourceHandlerSection.cs