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
- MulticastDelegate.cs
- TableCell.cs
- RightsManagementPermission.cs
- ControlDesigner.cs
- SynchronizationContext.cs
- MachineKeyConverter.cs
- TableLayoutSettingsTypeConverter.cs
- Throw.cs
- TraceFilter.cs
- Attribute.cs
- WindowsRichEditRange.cs
- xdrvalidator.cs
- ProfileModule.cs
- LineGeometry.cs
- RolePrincipal.cs
- RawStylusInput.cs
- WrappingXamlSchemaContext.cs
- ResourceProperty.cs
- SingleResultAttribute.cs
- XmlSchemaImporter.cs
- Glyph.cs
- PathNode.cs
- CollectionBuilder.cs
- MultiBinding.cs
- PathData.cs
- DiagnosticTraceRecords.cs
- PartialTrustVisibleAssembly.cs
- SqlDataSourceView.cs
- _DisconnectOverlappedAsyncResult.cs
- InternalResources.cs
- DateTimeOffsetConverter.cs
- Trace.cs
- PropertyItem.cs
- CompareInfo.cs
- DrawingGroup.cs
- FileDialog.cs
- AnnotationComponentChooser.cs
- returneventsaver.cs
- IODescriptionAttribute.cs
- ComponentChangingEvent.cs
- BindingCompleteEventArgs.cs
- StringFreezingAttribute.cs
- control.ime.cs
- StylusPlugin.cs
- AutomationPropertyInfo.cs
- CodeArrayIndexerExpression.cs
- TextTreeUndo.cs
- CompilerGlobalScopeAttribute.cs
- Point3DCollectionConverter.cs
- COAUTHINFO.cs
- DependencyPropertyValueSerializer.cs
- RenderingBiasValidation.cs
- StatusBar.cs
- DetailsViewDeleteEventArgs.cs
- BitmapPalette.cs
- MatrixStack.cs
- AudioStateChangedEventArgs.cs
- PrintPreviewControl.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- TemplatedAdorner.cs
- WeakReferenceEnumerator.cs
- DocumentPaginator.cs
- GridViewAutoFormat.cs
- TemplateManager.cs
- Processor.cs
- LinearGradientBrush.cs
- ThumbAutomationPeer.cs
- ClickablePoint.cs
- EntitySqlQueryCacheKey.cs
- WebMessageEncoderFactory.cs
- WeakEventTable.cs
- MasterPageCodeDomTreeGenerator.cs
- SiblingIterators.cs
- CodeSnippetCompileUnit.cs
- PathParser.cs
- ParallelTimeline.cs
- TransformedBitmap.cs
- DetailsViewUpdateEventArgs.cs
- COM2ComponentEditor.cs
- WebPartConnectionCollection.cs
- BindingExpressionUncommonField.cs
- Buffer.cs
- ToolStripSeparator.cs
- SaveFileDialog.cs
- ToolStripMenuItem.cs
- ScriptingProfileServiceSection.cs
- ACL.cs
- FeatureSupport.cs
- SerializationStore.cs
- PersonalizationAdministration.cs
- WindowsClaimSet.cs
- SqlReorderer.cs
- StrokeIntersection.cs
- HtmlEncodedRawTextWriter.cs
- BindingNavigator.cs
- SiteMapNode.cs
- TagMapInfo.cs
- SortAction.cs
- DataGridDetailsPresenterAutomationPeer.cs
- ListSortDescription.cs