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
- KeyEventArgs.cs
- BamlTreeMap.cs
- PartEditor.cs
- DbCommandTree.cs
- AngleUtil.cs
- GetWorkflowTree.cs
- DbParameterCollection.cs
- UTF8Encoding.cs
- ListBase.cs
- DynamicDataRoute.cs
- DialogResultConverter.cs
- KnownTypesProvider.cs
- FileDialogCustomPlaces.cs
- XmlDocumentType.cs
- ActivationProxy.cs
- Translator.cs
- XamlGridLengthSerializer.cs
- MediaPlayerState.cs
- InternalControlCollection.cs
- KoreanCalendar.cs
- StateWorkerRequest.cs
- MsiStyleLogWriter.cs
- Button.cs
- FileFormatException.cs
- SqlDependency.cs
- OdbcConnectionFactory.cs
- ConversionHelper.cs
- ReferentialConstraint.cs
- Vector3DAnimationBase.cs
- FunctionDetailsReader.cs
- Image.cs
- TouchDevice.cs
- MarshalByRefObject.cs
- PolicyManager.cs
- FormatControl.cs
- XhtmlBasicImageAdapter.cs
- DataGridTable.cs
- FormClosingEvent.cs
- FormConverter.cs
- OptimisticConcurrencyException.cs
- Command.cs
- EventProviderWriter.cs
- PropertyDescriptorComparer.cs
- AssociationEndMember.cs
- UpdatePanel.cs
- Convert.cs
- IpcChannelHelper.cs
- TemplatedMailWebEventProvider.cs
- SafeNativeMethods.cs
- InsufficientMemoryException.cs
- RuntimeVariablesExpression.cs
- SafeViewOfFileHandle.cs
- BlobPersonalizationState.cs
- HttpBindingExtension.cs
- WriteLineDesigner.xaml.cs
- WhitespaceRuleReader.cs
- CodePrimitiveExpression.cs
- ToolStripDropTargetManager.cs
- XamlStream.cs
- SecurityManager.cs
- ButtonPopupAdapter.cs
- HttpDictionary.cs
- SmiSettersStream.cs
- PageCatalogPart.cs
- ScriptHandlerFactory.cs
- shaperfactoryquerycachekey.cs
- MethodBuilderInstantiation.cs
- ListControlConvertEventArgs.cs
- Image.cs
- ControllableStoryboardAction.cs
- GcSettings.cs
- DecimalStorage.cs
- DataListItem.cs
- Size3D.cs
- TextTrailingWordEllipsis.cs
- DataGridColumnCollection.cs
- UserValidatedEventArgs.cs
- SQLBytes.cs
- AppDomainShutdownMonitor.cs
- CultureSpecificStringDictionary.cs
- Permission.cs
- Set.cs
- HwndStylusInputProvider.cs
- TTSEngineTypes.cs
- X509ServiceCertificateAuthenticationElement.cs
- TextWriter.cs
- ScrollEventArgs.cs
- TypeValidationEventArgs.cs
- DataTransferEventArgs.cs
- RawUIStateInputReport.cs
- Brush.cs
- HierarchicalDataBoundControl.cs
- CredentialCache.cs
- CompositeFontParser.cs
- ContentFilePart.cs
- SiteMapProvider.cs
- RefreshEventArgs.cs
- TemplateBamlRecordReader.cs
- RayMeshGeometry3DHitTestResult.cs
- ArraySet.cs