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
- ClientProxyGenerator.cs
- GeneralTransform.cs
- WindowsFormsHost.cs
- TreePrinter.cs
- BindingGroup.cs
- SoapIncludeAttribute.cs
- IDispatchConstantAttribute.cs
- FileRecordSequence.cs
- DataTemplateKey.cs
- Types.cs
- RectAnimation.cs
- DataObjectSettingDataEventArgs.cs
- LicFileLicenseProvider.cs
- FixedSOMPage.cs
- FunctionCommandText.cs
- EntityContainer.cs
- DateTimeValueSerializer.cs
- OutputCacheSettings.cs
- MonthCalendar.cs
- ClientSession.cs
- ActivityMetadata.cs
- LayoutEvent.cs
- ProgressBar.cs
- DeploymentSectionCache.cs
- DataSvcMapFile.cs
- XPathAncestorIterator.cs
- FeatureSupport.cs
- StreamMarshaler.cs
- SqlFactory.cs
- EventManager.cs
- SignatureDescription.cs
- TextProperties.cs
- DataDocumentXPathNavigator.cs
- securestring.cs
- FixedFindEngine.cs
- SqlCharStream.cs
- BasicExpressionVisitor.cs
- DataGridViewBand.cs
- FixedSOMLineCollection.cs
- StrongNameHelpers.cs
- Tool.cs
- TreeNodeStyle.cs
- RedirectionProxy.cs
- TraceRecord.cs
- DataGridViewBindingCompleteEventArgs.cs
- GZipDecoder.cs
- MetadataArtifactLoaderCompositeFile.cs
- CroppedBitmap.cs
- CodeTryCatchFinallyStatement.cs
- ContainerFilterService.cs
- DtdParser.cs
- RuleSettingsCollection.cs
- DocumentEventArgs.cs
- IBuiltInEvidence.cs
- DataGridViewHitTestInfo.cs
- Int32CollectionConverter.cs
- AssociatedControlConverter.cs
- contentDescriptor.cs
- CodeTypeDeclaration.cs
- HMACRIPEMD160.cs
- ResetableIterator.cs
- IUnknownConstantAttribute.cs
- Stackframe.cs
- AttributeCollection.cs
- ErrorWrapper.cs
- MapPathBasedVirtualPathProvider.cs
- VariableBinder.cs
- XPathNodeList.cs
- InkCanvasSelection.cs
- TabItemWrapperAutomationPeer.cs
- DesignerActionUI.cs
- XmlAttributeProperties.cs
- MembershipSection.cs
- InternalsVisibleToAttribute.cs
- KeyNotFoundException.cs
- TextSpanModifier.cs
- XmlDesigner.cs
- Transactions.cs
- OverflowException.cs
- WindowsScrollBar.cs
- RectIndependentAnimationStorage.cs
- METAHEADER.cs
- DescendantQuery.cs
- OdbcUtils.cs
- FunctionUpdateCommand.cs
- FormsAuthenticationCredentials.cs
- SoapProcessingBehavior.cs
- ProtocolsConfigurationHandler.cs
- BuildProviderUtils.cs
- SlipBehavior.cs
- Relationship.cs
- BitmapCacheBrush.cs
- Accessible.cs
- RangeContentEnumerator.cs
- ThicknessKeyFrameCollection.cs
- DeviceFilterEditorDialog.cs
- ECDsa.cs
- TreeSet.cs
- WinInetCache.cs
- xmlfixedPageInfo.cs