Code:
/ FX-1434 / FX-1434 / 1.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
- ComponentEditorForm.cs
- GroupQuery.cs
- DataGridViewCheckBoxCell.cs
- StaticResourceExtension.cs
- Configuration.cs
- FileAuthorizationModule.cs
- DefaultValueConverter.cs
- SqlUserDefinedTypeAttribute.cs
- DataGridItemCollection.cs
- ValueTable.cs
- StateMachineHistory.cs
- WriterOutput.cs
- TreeNodeCollection.cs
- RemoteCryptoRsaServiceProvider.cs
- DetailsViewPageEventArgs.cs
- QueryStringParameter.cs
- SecurityTokenAuthenticator.cs
- ExtensionSimplifierMarkupObject.cs
- KeyValueConfigurationCollection.cs
- Section.cs
- FormViewRow.cs
- LayoutEvent.cs
- NativeMethods.cs
- CanonicalXml.cs
- CodeTypeOfExpression.cs
- ObjectNavigationPropertyMapping.cs
- FormsAuthenticationUser.cs
- SafeRsaProviderHandle.cs
- DataObject.cs
- GenerateTemporaryTargetAssembly.cs
- XmlSubtreeReader.cs
- _ProxyRegBlob.cs
- TransactionManager.cs
- GB18030Encoding.cs
- FixedSOMFixedBlock.cs
- AnnotationHighlightLayer.cs
- OwnerDrawPropertyBag.cs
- QilXmlReader.cs
- WorkflowOwnershipException.cs
- AtomContentProperty.cs
- X509AsymmetricSecurityKey.cs
- ICollection.cs
- PreviewPageInfo.cs
- Char.cs
- EventsTab.cs
- SqlClientMetaDataCollectionNames.cs
- WebCategoryAttribute.cs
- TimerEventSubscription.cs
- WebEvents.cs
- ResourceDescriptionAttribute.cs
- GeneralTransformGroup.cs
- CoTaskMemHandle.cs
- KeyManager.cs
- NativeMethods.cs
- BitmapEffectGeneralTransform.cs
- EntityCommandCompilationException.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- LineServicesCallbacks.cs
- TextBlock.cs
- WebPartMovingEventArgs.cs
- ValueExpressions.cs
- PathFigure.cs
- CDSCollectionETWBCLProvider.cs
- DeferredReference.cs
- WorkflowDebuggerSteppingAttribute.cs
- MergeFilterQuery.cs
- ChtmlLinkAdapter.cs
- Publisher.cs
- TimeSpanStorage.cs
- Model3DGroup.cs
- ChtmlTextWriter.cs
- LocalBuilder.cs
- SapiGrammar.cs
- XmlTextReaderImplHelpers.cs
- TemplateControl.cs
- httpserverutility.cs
- ConfigurationProviderException.cs
- TextEditorSelection.cs
- SplitContainer.cs
- FontResourceCache.cs
- TextDecorationCollection.cs
- BindingSource.cs
- GroupQuery.cs
- DataControlField.cs
- DrawingContextDrawingContextWalker.cs
- RelationalExpressions.cs
- OdbcPermission.cs
- ColorConverter.cs
- Highlights.cs
- DnsEndPoint.cs
- ClientUtils.cs
- ListBindableAttribute.cs
- base64Transforms.cs
- DataPointer.cs
- DataObject.cs
- ClickablePoint.cs
- TraceContextEventArgs.cs
- HttpWebRequest.cs
- StructuralObject.cs
- DataServiceRequestOfT.cs