Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / METAHEADER.cs / 1305376 / METAHEADER.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
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.
//
//-----------------------------------------------------------------------------
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PrePrepareMethodAttribute.cs
- QueryOutputWriter.cs
- GridView.cs
- ResourcePart.cs
- PeerNearMe.cs
- Vector3DAnimationBase.cs
- PartialCachingAttribute.cs
- X500Name.cs
- Int32CAMarshaler.cs
- ToolStripInSituService.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- GridViewSelectEventArgs.cs
- XPathChildIterator.cs
- HotSpot.cs
- WebBrowsableAttribute.cs
- ArithmeticLiteral.cs
- XmlIgnoreAttribute.cs
- StringValueConverter.cs
- DaylightTime.cs
- WebPartConnectionsConfigureVerb.cs
- GridItem.cs
- ImageListImageEditor.cs
- HostedTransportConfigurationManager.cs
- SetterTriggerConditionValueConverter.cs
- GroupBox.cs
- ProtectedConfiguration.cs
- GridViewDeleteEventArgs.cs
- TextDecorationCollection.cs
- XsdBuilder.cs
- ListViewItem.cs
- RtfToXamlLexer.cs
- OrderByQueryOptionExpression.cs
- SimpleMailWebEventProvider.cs
- InputScopeConverter.cs
- DBConnectionString.cs
- CommandField.cs
- ReferenceEqualityComparer.cs
- CharacterBuffer.cs
- ListViewGroupItemCollection.cs
- FilteredAttributeCollection.cs
- StringPropertyBuilder.cs
- XmlExpressionDumper.cs
- OperationFormatter.cs
- CodeTypeDelegate.cs
- ServiceDocument.cs
- CodeTypeOfExpression.cs
- HttpServerChannel.cs
- DbDataReader.cs
- SQLByteStorage.cs
- ToolStripStatusLabel.cs
- VisualBrush.cs
- SendAgentStatusRequest.cs
- DataRelation.cs
- NamedPipeChannelListener.cs
- AddInActivator.cs
- ZoneButton.cs
- WindowsGrip.cs
- InputScope.cs
- DesignerProperties.cs
- GlobalDataBindingHandler.cs
- RenderData.cs
- PaginationProgressEventArgs.cs
- RuleInfoComparer.cs
- PixelFormat.cs
- Interfaces.cs
- AccessibleObject.cs
- NamespaceMapping.cs
- SafeThemeHandle.cs
- SchemaSetCompiler.cs
- CounterCreationDataCollection.cs
- HybridDictionary.cs
- BooleanConverter.cs
- DirtyTextRange.cs
- EmptyQuery.cs
- tooltip.cs
- figurelength.cs
- DBCSCodePageEncoding.cs
- PenContexts.cs
- ExitEventArgs.cs
- PolyBezierSegmentFigureLogic.cs
- DockPattern.cs
- HtmlPanelAdapter.cs
- IndexingContentUnit.cs
- PasswordDeriveBytes.cs
- _NetRes.cs
- UxThemeWrapper.cs
- DataSvcMapFile.cs
- MainMenu.cs
- HttpProcessUtility.cs
- TextTreeExtractElementUndoUnit.cs
- CardSpaceException.cs
- _SafeNetHandles.cs
- DataGridColumnEventArgs.cs
- TdsEnums.cs
- StaticContext.cs
- RadioButtonStandardAdapter.cs
- CreatingCookieEventArgs.cs
- CustomAttributeBuilder.cs
- DrawingAttributes.cs
- GlobalItem.cs