Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Advanced / WmfPlaceableFileHeader.cs / 2 / 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
- ExpressionBinding.cs
- ToolStripRenderEventArgs.cs
- SRDisplayNameAttribute.cs
- SecurityRuntime.cs
- shaper.cs
- DataSourceHelper.cs
- EditorServiceContext.cs
- SQLInt64Storage.cs
- DoWhileDesigner.xaml.cs
- MediaTimeline.cs
- RootBuilder.cs
- HandlerFactoryWrapper.cs
- DoubleIndependentAnimationStorage.cs
- SoapProtocolImporter.cs
- TrustManagerMoreInformation.cs
- Pointer.cs
- SecurityImpersonationBehavior.cs
- HttpConfigurationSystem.cs
- BaseParser.cs
- Model3DGroup.cs
- DataException.cs
- DocumentEventArgs.cs
- Condition.cs
- OpenTypeLayout.cs
- PageEventArgs.cs
- OverlappedAsyncResult.cs
- Frame.cs
- safesecurityhelperavalon.cs
- ViewBox.cs
- CodeFieldReferenceExpression.cs
- ClientEventManager.cs
- ConnectionString.cs
- ScrollChrome.cs
- TreeNodeEventArgs.cs
- Command.cs
- FollowerQueueCreator.cs
- Image.cs
- TimeSpan.cs
- ipaddressinformationcollection.cs
- HierarchicalDataSourceDesigner.cs
- TypeListConverter.cs
- FormattedTextSymbols.cs
- EditorPartCollection.cs
- ComponentResourceManager.cs
- UnionCodeGroup.cs
- PreviewKeyDownEventArgs.cs
- Collection.cs
- RSAPKCS1SignatureDeformatter.cs
- QilName.cs
- WeakHashtable.cs
- PageParser.cs
- PolicyVersion.cs
- TraceHandler.cs
- Container.cs
- RestHandler.cs
- ParseNumbers.cs
- Partitioner.cs
- DelegatingTypeDescriptionProvider.cs
- TextRangeEdit.cs
- TemplatePropertyEntry.cs
- DataGrid.cs
- MoveSizeWinEventHandler.cs
- XmlEventCache.cs
- ExpressionBuilder.cs
- RtfControls.cs
- ProtectedConfiguration.cs
- EnumUnknown.cs
- JsonServiceDocumentSerializer.cs
- ActivityScheduledRecord.cs
- GrammarBuilderPhrase.cs
- PartialToken.cs
- ExceptQueryOperator.cs
- SrgsElementFactoryCompiler.cs
- FrameAutomationPeer.cs
- XNodeSchemaApplier.cs
- TickBar.cs
- Helper.cs
- ToolBarButton.cs
- InvalidateEvent.cs
- RegisteredHiddenField.cs
- TextWriterTraceListener.cs
- LayoutEvent.cs
- ProfileBuildProvider.cs
- ItemMap.cs
- FormViewInsertEventArgs.cs
- BitmapFrameDecode.cs
- SystemUdpStatistics.cs
- BindingContext.cs
- SimpleFieldTemplateFactory.cs
- Substitution.cs
- OuterGlowBitmapEffect.cs
- ADMembershipProvider.cs
- ServiceModelExtensionElement.cs
- securestring.cs
- RegexTree.cs
- CodePageEncoding.cs
- TraceSection.cs
- FrameworkPropertyMetadata.cs
- URLString.cs
- HttpModuleCollection.cs