Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CommonUI / System / Drawing / Advanced / WmfPlaceableFileHeader.cs / 1 / 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.
//------------------------------------------------------------------------------
//
// 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
- CalendarItem.cs
- ColumnWidthChangingEvent.cs
- CommunicationObjectAbortedException.cs
- CodeAccessSecurityEngine.cs
- SqlClientWrapperSmiStreamChars.cs
- WsdlInspector.cs
- CryptoApi.cs
- SamlSecurityToken.cs
- TypeReference.cs
- DefaultSerializationProviderAttribute.cs
- UIElementAutomationPeer.cs
- Profiler.cs
- ObjectTokenCategory.cs
- AsymmetricSignatureDeformatter.cs
- Int32CollectionValueSerializer.cs
- OracleColumn.cs
- RuntimeConfig.cs
- OleDbStruct.cs
- DurationConverter.cs
- DesignUtil.cs
- BaseDataListActionList.cs
- MarkupObject.cs
- ColumnHeader.cs
- SqlDelegatedTransaction.cs
- ImageProxy.cs
- WebPageTraceListener.cs
- DesignerLabelAdapter.cs
- WebAdminConfigurationHelper.cs
- OletxTransactionHeader.cs
- UnknownWrapper.cs
- WebPartDesigner.cs
- CatalogPartChrome.cs
- InheritanceAttribute.cs
- DynamicActivityXamlReader.cs
- BaseProcessor.cs
- BrushValueSerializer.cs
- BezierSegment.cs
- ViewPort3D.cs
- CollaborationHelperFunctions.cs
- ListControl.cs
- Point4DValueSerializer.cs
- DataGridViewCellCancelEventArgs.cs
- PointLightBase.cs
- SineEase.cs
- HandlerFactoryCache.cs
- PathGradientBrush.cs
- NonVisualControlAttribute.cs
- BaseParser.cs
- DescendentsWalkerBase.cs
- GeometryModel3D.cs
- HtmlForm.cs
- XPathConvert.cs
- HostedNamedPipeTransportManager.cs
- PageParserFilter.cs
- InheritanceContextHelper.cs
- _NegoStream.cs
- AsymmetricSignatureFormatter.cs
- SignatureToken.cs
- DataList.cs
- CalendarDesigner.cs
- Listener.cs
- QilSortKey.cs
- SafeNativeMethods.cs
- Model3DCollection.cs
- ChtmlCalendarAdapter.cs
- PaintEvent.cs
- SoapFormatter.cs
- DataGridColumnsPage.cs
- SAPIEngineTypes.cs
- LayoutEngine.cs
- AppDomainUnloadedException.cs
- NodeFunctions.cs
- AttachInfo.cs
- EditorOptionAttribute.cs
- unitconverter.cs
- CalendarKeyboardHelper.cs
- ConnectorSelectionGlyph.cs
- SeverityFilter.cs
- Rights.cs
- ConfigurationSettings.cs
- FacetValues.cs
- FixedDocumentPaginator.cs
- CollectionEditVerbManager.cs
- ListParaClient.cs
- SynchronizationScope.cs
- ActivityTypeCodeDomSerializer.cs
- ConfigXmlAttribute.cs
- ToolStripSplitButton.cs
- TargetInvocationException.cs
- BuildResult.cs
- PersonalizationProviderCollection.cs
- OleDragDropHandler.cs
- SystemInfo.cs
- SqlParameterizer.cs
- ToolboxBitmapAttribute.cs
- ResourceIDHelper.cs
- SelectedDatesCollection.cs
- JsonEnumDataContract.cs
- JsonReader.cs
- DictionaryCustomTypeDescriptor.cs