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
- Pair.cs
- ConditionalDesigner.cs
- sortedlist.cs
- httpserverutility.cs
- UshortList2.cs
- ProviderConnectionPoint.cs
- TempFiles.cs
- MergeFailedEvent.cs
- DesignBindingPicker.cs
- KeyboardNavigation.cs
- OutputScopeManager.cs
- entityreference_tresulttype.cs
- Completion.cs
- mactripleDES.cs
- Column.cs
- TextTrailingCharacterEllipsis.cs
- GcSettings.cs
- WrappedIUnknown.cs
- WebPartDeleteVerb.cs
- BoundPropertyEntry.cs
- LocalizableResourceBuilder.cs
- SafeNativeMethods.cs
- SqlCacheDependency.cs
- DirectoryObjectSecurity.cs
- AccessDataSource.cs
- dataprotectionpermission.cs
- ExternalFile.cs
- OletxTransactionFormatter.cs
- ToolStripManager.cs
- SocketElement.cs
- WindowProviderWrapper.cs
- XPSSignatureDefinition.cs
- ControlValuePropertyAttribute.cs
- EventSourceCreationData.cs
- WrapPanel.cs
- ExpressionVisitorHelpers.cs
- BrowserCapabilitiesFactory.cs
- LocalizationComments.cs
- SchemaEntity.cs
- DESCryptoServiceProvider.cs
- ProtocolsConfiguration.cs
- MessageQueue.cs
- WebReferencesBuildProvider.cs
- infer.cs
- SerialPort.cs
- DataServiceRequest.cs
- ConnectionPoint.cs
- DoubleCollectionConverter.cs
- FileDialogCustomPlacesCollection.cs
- DateTimeSerializationSection.cs
- ActivityDesigner.cs
- SafeLocalAllocation.cs
- Condition.cs
- COM2EnumConverter.cs
- XhtmlStyleClass.cs
- CompilerCollection.cs
- SqlDataSourceQueryEditor.cs
- MgmtConfigurationRecord.cs
- CustomErrorsSection.cs
- Cursors.cs
- AppliedDeviceFiltersEditor.cs
- MenuAutomationPeer.cs
- XmlStringTable.cs
- TextTreeInsertUndoUnit.cs
- QueryAsyncResult.cs
- AssemblyBuilderData.cs
- SchemaAttDef.cs
- InkPresenterAutomationPeer.cs
- RouteParametersHelper.cs
- Duration.cs
- UnknownWrapper.cs
- AssemblyCache.cs
- XhtmlBasicTextViewAdapter.cs
- XMLDiffLoader.cs
- MobileComponentEditorPage.cs
- QualificationDataAttribute.cs
- SQLDecimal.cs
- TreeNodeBindingCollection.cs
- SecurityPermission.cs
- MenuRenderer.cs
- CompilerInfo.cs
- NativeMethods.cs
- HtmlElement.cs
- WebPartTransformerAttribute.cs
- UnsignedPublishLicense.cs
- CodeIdentifier.cs
- InstanceHandle.cs
- EventSinkHelperWriter.cs
- IDataContractSurrogate.cs
- ShaderRenderModeValidation.cs
- TextTreeText.cs
- XmlSchemaSimpleTypeList.cs
- StylusPointProperties.cs
- LogPolicy.cs
- sqlpipe.cs
- TextChange.cs
- ColumnWidthChangingEvent.cs
- SymLanguageType.cs
- ThreadSafeList.cs
- HostSecurityManager.cs