Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / WmfPlaceableFileHeader.cs / 1305376 / 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
- XmlTextAttribute.cs
- IArgumentProvider.cs
- BulletedListDesigner.cs
- HandledEventArgs.cs
- XamlSerializerUtil.cs
- EncryptedData.cs
- HttpRawResponse.cs
- OutKeywords.cs
- BindingContext.cs
- LocationChangedEventArgs.cs
- ExpressionBindings.cs
- SecureEnvironment.cs
- diagnosticsswitches.cs
- NamespaceTable.cs
- SortQuery.cs
- ModelUIElement3D.cs
- TransactionScope.cs
- TextParagraph.cs
- AssemblyNameProxy.cs
- RoleServiceManager.cs
- PkcsUtils.cs
- MimeTextImporter.cs
- XDRSchema.cs
- ToolTip.cs
- XmlCharType.cs
- WebPartMovingEventArgs.cs
- FacetValueContainer.cs
- SearchForVirtualItemEventArgs.cs
- BindingSourceDesigner.cs
- StorageMappingItemLoader.cs
- WSHttpSecurityElement.cs
- PartitionResolver.cs
- SqlProviderManifest.cs
- Semaphore.cs
- ExpanderAutomationPeer.cs
- LineSegment.cs
- EndpointNotFoundException.cs
- Pair.cs
- SubMenuStyle.cs
- ServiceOperationListItem.cs
- GreaterThanOrEqual.cs
- ColumnResizeAdorner.cs
- FormatStringEditor.cs
- LinqDataSourceStatusEventArgs.cs
- GridViewRowEventArgs.cs
- Vector3DAnimation.cs
- AddDataControlFieldDialog.cs
- ListItemCollection.cs
- UnlockInstanceAsyncResult.cs
- Quaternion.cs
- DBConcurrencyException.cs
- ListViewItem.cs
- XmlElementList.cs
- ECDiffieHellmanCngPublicKey.cs
- localization.cs
- ListViewItemMouseHoverEvent.cs
- SoapAttributes.cs
- WebConfigurationManager.cs
- HeaderCollection.cs
- RelationshipDetailsRow.cs
- DESCryptoServiceProvider.cs
- CookieHandler.cs
- SEHException.cs
- BindingExpression.cs
- localization.cs
- FunctionMappingTranslator.cs
- EntityCodeGenerator.cs
- DeclaredTypeValidator.cs
- CollectionBase.cs
- OracleBinary.cs
- ResourceDisplayNameAttribute.cs
- UrlPath.cs
- Rect3D.cs
- SoapIncludeAttribute.cs
- NonClientArea.cs
- Rectangle.cs
- PhysicalOps.cs
- EnumerableRowCollectionExtensions.cs
- ErrorFormatter.cs
- XmlSchemaComplexContentRestriction.cs
- _NTAuthentication.cs
- SqlMethodCallConverter.cs
- X500Name.cs
- NotImplementedException.cs
- DynamicPropertyHolder.cs
- TextSelectionHighlightLayer.cs
- AbstractExpressions.cs
- HtmlElementErrorEventArgs.cs
- PackageDigitalSignature.cs
- RedirectionProxy.cs
- Application.cs
- LoadWorkflowByKeyAsyncResult.cs
- ByteViewer.cs
- UnicodeEncoding.cs
- DrawingDrawingContext.cs
- FormsAuthenticationUserCollection.cs
- OutputScope.cs
- SqlDataSourceCache.cs
- VisualStates.cs
- objectresult_tresulttype.cs