Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CommonUI / System / Drawing / Advanced / WmfPlaceableFileHeader.cs / 1 / WmfPlaceableFileHeader.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /*************************************************************************\ * * Copyright (c) 1998-1999, Microsoft Corp. All Rights Reserved. * * Module Name: * * WmfPlaceableFileHeader.cs * * Abstract: * * Native GDI+ WmfPlaceableFileHeader structure. * * Revision History: * * 10/21/1999 [....] * Created it. * \**************************************************************************/ 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. // Copyright (c) Microsoft Corporation. All rights reserved./// 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
- CollaborationHelperFunctions.cs
- ClientCultureInfo.cs
- EntityDataSourceWrapper.cs
- TableCellCollection.cs
- ToolStripDropDownButton.cs
- ParameterModifier.cs
- DivideByZeroException.cs
- ConnectionManagementSection.cs
- SchemaTableOptionalColumn.cs
- QilExpression.cs
- TextViewElement.cs
- Win32.cs
- SqlMethodCallConverter.cs
- DropDownList.cs
- URLMembershipCondition.cs
- CodeStatementCollection.cs
- ArglessEventHandlerProxy.cs
- EmissiveMaterial.cs
- InvalidEnumArgumentException.cs
- PtsCache.cs
- SchemaTableColumn.cs
- TextMessageEncoder.cs
- PageBorderless.cs
- NoClickablePointException.cs
- ProfilePropertySettings.cs
- MediaCommands.cs
- FileDetails.cs
- SpellerHighlightLayer.cs
- TextServicesCompartmentEventSink.cs
- RenderingEventArgs.cs
- DataObject.cs
- UInt32.cs
- Geometry3D.cs
- unsafenativemethodstextservices.cs
- Dictionary.cs
- HtmlAnchor.cs
- figurelength.cs
- SiteMapDataSource.cs
- IMembershipProvider.cs
- Thumb.cs
- ReferencedType.cs
- SqlConnectionFactory.cs
- ParentQuery.cs
- MetabaseSettings.cs
- InputScopeManager.cs
- ContainsSearchOperator.cs
- EntityContainerEmitter.cs
- BlurBitmapEffect.cs
- ConcurrencyBehavior.cs
- wgx_commands.cs
- DocumentReference.cs
- ServiceDurableInstance.cs
- AppSettingsExpressionBuilder.cs
- AutomationPeer.cs
- UniqueConstraint.cs
- SqlBooleanizer.cs
- BinaryConverter.cs
- RegisteredDisposeScript.cs
- XmlExceptionHelper.cs
- RenderingBiasValidation.cs
- WarningException.cs
- WindowProviderWrapper.cs
- CompilerGlobalScopeAttribute.cs
- MessageEnumerator.cs
- HttpCachePolicy.cs
- XmlBaseWriter.cs
- VarInfo.cs
- PropertyIDSet.cs
- ProjectionPath.cs
- IERequestCache.cs
- BitmapSizeOptions.cs
- FontStyleConverter.cs
- _FtpControlStream.cs
- KeyInstance.cs
- PackageRelationshipCollection.cs
- ResourceDictionary.cs
- BookmarkScopeHandle.cs
- InkCanvasAutomationPeer.cs
- AttributeExtensions.cs
- TypeAccessException.cs
- StreamedFramingRequestChannel.cs
- COAUTHINFO.cs
- TouchPoint.cs
- EpmSyndicationContentSerializer.cs
- TransformerInfoCollection.cs
- EpmSyndicationContentDeSerializer.cs
- ConnectionInterfaceCollection.cs
- XmlMembersMapping.cs
- GridView.cs
- UnsafeNativeMethods.cs
- AssemblyName.cs
- StructuredTypeEmitter.cs
- MTConfigUtil.cs
- SubstitutionDesigner.cs
- QuaternionValueSerializer.cs
- FixedNode.cs
- PackageStore.cs
- ComplexTypeEmitter.cs
- Model3D.cs
- ViewValidator.cs