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
- PlainXmlSerializer.cs
- PasswordBoxAutomationPeer.cs
- ReadOnlyCollectionBase.cs
- HttpCapabilitiesEvaluator.cs
- EventEntry.cs
- DataViewSetting.cs
- SoapCodeExporter.cs
- Environment.cs
- _NestedMultipleAsyncResult.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- StorageTypeMapping.cs
- Configuration.cs
- PerformanceCounter.cs
- DrawingContextDrawingContextWalker.cs
- MultiByteCodec.cs
- GuidConverter.cs
- HtmlInputSubmit.cs
- TempEnvironment.cs
- SourceFileBuildProvider.cs
- XmlDataLoader.cs
- SqlDataSourceSummaryPanel.cs
- MergablePropertyAttribute.cs
- StateElement.cs
- VisualBrush.cs
- EditingCoordinator.cs
- EventRouteFactory.cs
- RotateTransform.cs
- ActiveXHost.cs
- TypeDescriptor.cs
- LineInfo.cs
- DocumentViewerAutomationPeer.cs
- InfoCardListRequest.cs
- FormsAuthenticationUserCollection.cs
- ADRole.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ButtonAutomationPeer.cs
- WSHttpTransportSecurityElement.cs
- SpecularMaterial.cs
- BamlLocalizationDictionary.cs
- LinearGradientBrush.cs
- PageSetupDialog.cs
- TripleDESCryptoServiceProvider.cs
- DataGridViewHeaderCell.cs
- LinkArea.cs
- StylusButtonEventArgs.cs
- DetailsViewDeleteEventArgs.cs
- ParameterToken.cs
- VersionUtil.cs
- CodeAccessPermission.cs
- CmsInterop.cs
- NoResizeHandleGlyph.cs
- PageSettings.cs
- EntityContainerRelationshipSetEnd.cs
- WebMessageFormatHelper.cs
- TemplatePropertyEntry.cs
- UriParserTemplates.cs
- ToolStripSeparatorRenderEventArgs.cs
- CellTreeNode.cs
- SchemaInfo.cs
- Int32Rect.cs
- SafeArrayRankMismatchException.cs
- EntityDesignerUtils.cs
- MarkupExtensionParser.cs
- SystemIcmpV4Statistics.cs
- DataSvcMapFileSerializer.cs
- SQLBytes.cs
- ObjectDataSourceFilteringEventArgs.cs
- PopOutPanel.cs
- AssemblyLoader.cs
- DataGridViewCellStateChangedEventArgs.cs
- ClassicBorderDecorator.cs
- KeyFrames.cs
- ModelMemberCollection.cs
- ResolvedKeyFrameEntry.cs
- CodeDomComponentSerializationService.cs
- Win32.cs
- Padding.cs
- ResourceManager.cs
- Compiler.cs
- IndexerHelper.cs
- OdbcDataAdapter.cs
- Section.cs
- WebEventCodes.cs
- SID.cs
- ShapingEngine.cs
- coordinatorfactory.cs
- XPathMultyIterator.cs
- BuildManager.cs
- OracleConnectionFactory.cs
- TrustManager.cs
- SafeArrayTypeMismatchException.cs
- ScriptManagerProxy.cs
- Documentation.cs
- LayoutTableCell.cs
- AdornerPresentationContext.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- Int16KeyFrameCollection.cs
- ContextQuery.cs
- ProfileInfo.cs
- followingsibling.cs