Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CommonUI / System / Drawing / Advanced / METAHEADER.cs / 1 / METAHEADER.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*************************************************************************\
*
* Copyright (c) 1998-1999, Microsoft Corp. All Rights Reserved.
*
* Module Name:
*
* METAHEADER.cs
*
* Abstract:
*
* Native GDI+ MetaHeader WMF structure.
*
* Revision History:
*
* 10/21/1999 [....]
* Created it.
*
\**************************************************************************/
namespace System.Drawing.Imaging {
using System.Diagnostics;
using System.Drawing;
using System;
using System.Runtime.InteropServices;
///
///
/// [To be supplied.]
///
[StructLayout(LayoutKind.Sequential, Pack=2)]
public sealed class MetaHeader {
/// SECREVIEW : The ENHMETAHEADER structure is defined natively as a union with WmfHeader.
/// Extreme care should be taken if changing the layout of the corresponding managaed
/// structures to minimize the risk of buffer overruns. The affected managed classes
/// are the following: ENHMETAHEADER, MetaHeader, MetafileHeaderWmf, MetafileHeaderEmf.
/// See ASURT#82822 or changes in Metafile.cs@115636 for more information.
///
short type;
short headerSize;
short version;
int size;
short noObjects;
int maxRecord;
short noParameters;
///
///
/// Represents the type of the associated
/// .
///
public short Type {
get { return type; }
set { type = value; }
}
///
///
/// Represents the sizi, in bytes, of the
/// header file.
///
public short HeaderSize {
get { return headerSize; }
set { headerSize = value; }
}
///
///
/// Represents the version number of the header
/// format.
///
public short Version {
get { return version; }
set { version = value; }
}
///
///
/// Represents the sizi, in bytes, of the
/// associated .
///
public int Size {
get { return size; }
set { size = value; }
}
///
///
/// [To be supplied.]
///
public short NoObjects {
get { return noObjects; }
set { noObjects = value; }
}
///
///
/// [To be supplied.]
///
public int MaxRecord {
get { return maxRecord; }
set { maxRecord = value; }
}
///
///
/// [To be supplied.]
///
public short NoParameters {
get { return noParameters; }
set { noParameters = value; }
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UserControlParser.cs
- RsaSecurityTokenAuthenticator.cs
- DocumentGridContextMenu.cs
- Line.cs
- DiagnosticTraceRecords.cs
- ReflectPropertyDescriptor.cs
- XslVisitor.cs
- ContextMarshalException.cs
- HitTestWithPointDrawingContextWalker.cs
- ClientOptions.cs
- ReceiveActivityDesigner.cs
- SourceLineInfo.cs
- XamlWriter.cs
- AppearanceEditorPart.cs
- RenderData.cs
- WebUtil.cs
- SqlWriter.cs
- SerializerProvider.cs
- CultureTable.cs
- SwitchCase.cs
- PcmConverter.cs
- BamlTreeMap.cs
- LabelLiteral.cs
- HttpException.cs
- oledbconnectionstring.cs
- XmlBufferReader.cs
- UriExt.cs
- BasicKeyConstraint.cs
- DataRowExtensions.cs
- InputLanguageSource.cs
- BitmapMetadata.cs
- IteratorDescriptor.cs
- RemotingSurrogateSelector.cs
- ConfigUtil.cs
- TextDocumentView.cs
- ProfileModule.cs
- SemanticBasicElement.cs
- OleDbConnectionFactory.cs
- OracleNumber.cs
- SettingsPropertyNotFoundException.cs
- SecurityTokenTypes.cs
- XmlnsCache.cs
- TextElementEditingBehaviorAttribute.cs
- SmiRecordBuffer.cs
- CheckBox.cs
- TcpTransportElement.cs
- SetStateEventArgs.cs
- SymmetricAlgorithm.cs
- PropertyPushdownHelper.cs
- ListChangedEventArgs.cs
- InternalBufferOverflowException.cs
- IntSecurity.cs
- RuntimeConfig.cs
- SamlSecurityToken.cs
- Screen.cs
- DebugViewWriter.cs
- XPathNodePointer.cs
- FrameAutomationPeer.cs
- SpecularMaterial.cs
- SqlProfileProvider.cs
- RayMeshGeometry3DHitTestResult.cs
- XmlArrayAttribute.cs
- RootBuilder.cs
- UnsafeNativeMethods.cs
- DesignerRegionCollection.cs
- PolicyUnit.cs
- wgx_sdk_version.cs
- RequestStatusBarUpdateEventArgs.cs
- ClientRoleProvider.cs
- CallbackValidator.cs
- Menu.cs
- DynamicValidatorEventArgs.cs
- InOutArgumentConverter.cs
- safex509handles.cs
- AppSettingsReader.cs
- DataGridColumnCollection.cs
- FileLevelControlBuilderAttribute.cs
- GridViewRowPresenter.cs
- DynamicMetaObjectBinder.cs
- Missing.cs
- HttpApplication.cs
- LowerCaseStringConverter.cs
- DataSourceCollectionBase.cs
- IisTraceWebEventProvider.cs
- TextEditorThreadLocalStore.cs
- PlainXmlSerializer.cs
- DataKeyArray.cs
- DigitShape.cs
- LinqDataSourceContextData.cs
- SqlRecordBuffer.cs
- MinimizableAttributeTypeConverter.cs
- CellPartitioner.cs
- StateRuntime.cs
- FlatButtonAppearance.cs
- TerminatorSinks.cs
- ModuleBuilderData.cs
- SizeChangedInfo.cs
- RemoteWebConfigurationHost.cs
- ConfigurationManagerHelper.cs
- _emptywebproxy.cs