Code:
/ 4.0 / 4.0 / untmp / 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; }
}
///
///
///
/// The y-coordinate of the upper-left corner of the bounding rectangle of the
/// metafile image on the output device.
///
///
public short BboxTop {
get { return bboxTop; }
set { bboxTop = value; }
}
///
///
///
/// The x-coordinate of the lower-right corner of the bounding rectangle of the
/// metafile image on the output device.
///
///
public short BboxRight {
get { return bboxRight; }
set { bboxRight = value; }
}
///
///
///
/// The y-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; }
}
///
///
/// 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; }
}
///
///
///
/// Indicates the checksum value for the
/// previous ten WORDs in the header.
///
///
public short Checksum {
get { return checksum; }
set { checksum = value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PageAdapter.cs
- UTF7Encoding.cs
- WebPartMinimizeVerb.cs
- ScaleTransform3D.cs
- ObjectHandle.cs
- ContentDisposition.cs
- TextEndOfLine.cs
- DesignerOptions.cs
- TypeLoadException.cs
- XmlMapping.cs
- PrincipalPermissionMode.cs
- DataGridViewDataConnection.cs
- ParameterRetriever.cs
- SineEase.cs
- Point3D.cs
- JsonServiceDocumentSerializer.cs
- DbConnectionPoolCounters.cs
- EnumerableRowCollectionExtensions.cs
- PageThemeBuildProvider.cs
- SimpleTypeResolver.cs
- TimerEventSubscription.cs
- HtmlTableCellCollection.cs
- Atom10FormatterFactory.cs
- TypeSystem.cs
- ClientSettingsProvider.cs
- AccessibleObject.cs
- ExtentKey.cs
- SafeRightsManagementPubHandle.cs
- SqlInternalConnectionTds.cs
- Facet.cs
- ListViewContainer.cs
- Int32.cs
- EntityDataSourceMemberPath.cs
- XmlSchemaParticle.cs
- SqlVersion.cs
- RelationshipConverter.cs
- ColumnWidthChangedEvent.cs
- IERequestCache.cs
- DBConnection.cs
- GridViewRowPresenterBase.cs
- Binding.cs
- SEHException.cs
- LinearQuaternionKeyFrame.cs
- HostVisual.cs
- BinaryUtilClasses.cs
- MessageQueueKey.cs
- CapabilitiesState.cs
- WindowsListBox.cs
- BlurBitmapEffect.cs
- SqlConnectionStringBuilder.cs
- Number.cs
- Int64KeyFrameCollection.cs
- WebEventTraceProvider.cs
- StateRuntime.cs
- Interlocked.cs
- BevelBitmapEffect.cs
- EmptyElement.cs
- DbDataRecord.cs
- TargetPerspective.cs
- CellNormalizer.cs
- ECDsa.cs
- XmlNullResolver.cs
- PropertyKey.cs
- FeatureSupport.cs
- GridViewEditEventArgs.cs
- OneOfTypeConst.cs
- WebPartEditorOkVerb.cs
- DataServiceRequest.cs
- _SSPIWrapper.cs
- InfoCardKeyedHashAlgorithm.cs
- SaveWorkflowAsyncResult.cs
- SafeNativeMethodsMilCoreApi.cs
- TransportBindingElementImporter.cs
- ColorMatrix.cs
- CodeDomConfigurationHandler.cs
- SimpleBitVector32.cs
- VersionUtil.cs
- MouseGestureConverter.cs
- WhitespaceRuleLookup.cs
- HotSpotCollection.cs
- ExpressionBuilder.cs
- PropertyChangedEventArgs.cs
- Manipulation.cs
- TextBox.cs
- ConfigurationLocation.cs
- NavigationWindowAutomationPeer.cs
- IdentityNotMappedException.cs
- DataTransferEventArgs.cs
- SafeArchiveContext.cs
- StorageRoot.cs
- CellCreator.cs
- RepeatBehaviorConverter.cs
- FileCodeGroup.cs
- StorageSetMapping.cs
- DbConnectionOptions.cs
- ComponentGlyph.cs
- SafeThemeHandle.cs
- Decimal.cs
- ZipIOCentralDirectoryFileHeader.cs
- Decimal.cs