Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / MetafileHeaderEmf.cs / 1305376 / MetafileHeaderEmf.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Imaging { using System.Diagnostics; using System; using System.Drawing; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] internal class MetafileHeaderEmf { /// 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. /// public MetafileType type = MetafileType.Invalid; public int size; public int version; public EmfPlusFlags emfPlusFlags = 0; public float dpiX; public float dpiY; public int X; public int Y; public int Width; public int Height; public SafeNativeMethods.ENHMETAHEADER EmfHeader; public int EmfPlusHeaderSize; public int LogicalDpiX; public int LogicalDpiY; } } // 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; [StructLayout(LayoutKind.Sequential)] internal class MetafileHeaderEmf { /// 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. /// public MetafileType type = MetafileType.Invalid; public int size; public int version; public EmfPlusFlags emfPlusFlags = 0; public float dpiX; public float dpiY; public int X; public int Y; public int Width; public int Height; public SafeNativeMethods.ENHMETAHEADER EmfHeader; public int EmfPlusHeaderSize; public int LogicalDpiX; public int LogicalDpiY; } } // 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
- EntityDataSourceStatementEditorForm.cs
- ConnectionPoolManager.cs
- ProxyWebPartConnectionCollection.cs
- Tablet.cs
- OuterGlowBitmapEffect.cs
- ClientScriptManager.cs
- DataGridViewHeaderCell.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- Maps.cs
- PublisherMembershipCondition.cs
- SQLInt16.cs
- InternalBufferOverflowException.cs
- AbsoluteQuery.cs
- HostingEnvironment.cs
- EditorZoneBase.cs
- XmlReflectionImporter.cs
- DataGridViewMethods.cs
- GeneralTransform3DTo2D.cs
- CapabilitiesSection.cs
- DataControlField.cs
- ContextDataSourceView.cs
- EntityDataSourceReferenceGroup.cs
- SendSecurityHeader.cs
- SystemUdpStatistics.cs
- SByteStorage.cs
- RankException.cs
- LayoutEditorPart.cs
- DynamicControl.cs
- KeyPullup.cs
- UnionCodeGroup.cs
- Policy.cs
- PathFigureCollectionConverter.cs
- ServerType.cs
- XmlSchemaRedefine.cs
- ApplyHostConfigurationBehavior.cs
- ObjectTag.cs
- ExpressionNode.cs
- Stylus.cs
- TraceUtility.cs
- AttributeExtensions.cs
- QilChoice.cs
- ContainerUtilities.cs
- TagNameToTypeMapper.cs
- TableStyle.cs
- BitStack.cs
- SessionStateContainer.cs
- DataList.cs
- ReversePositionQuery.cs
- HtmlTitle.cs
- OleDbConnectionFactory.cs
- SQlBooleanStorage.cs
- Timer.cs
- ArraySubsetEnumerator.cs
- XmlDocumentType.cs
- Stacktrace.cs
- XmlReaderSettings.cs
- AuthenticodeSignatureInformation.cs
- QilFactory.cs
- TextTreePropertyUndoUnit.cs
- AttachedPropertyInfo.cs
- HideDisabledControlAdapter.cs
- OdbcTransaction.cs
- RequestQueryProcessor.cs
- ListBase.cs
- Shape.cs
- PolyBezierSegment.cs
- TableLayoutSettings.cs
- SqlBulkCopy.cs
- FixedSOMLineCollection.cs
- updatecommandorderer.cs
- SafeMILHandle.cs
- TableItemProviderWrapper.cs
- DateTimeOffset.cs
- HandleDictionary.cs
- EventSinkActivity.cs
- SortDescriptionCollection.cs
- FontDifferentiator.cs
- SiteMapNodeItem.cs
- Pkcs7Signer.cs
- GridItemPattern.cs
- DetailsViewUpdateEventArgs.cs
- XPathNodeIterator.cs
- OutputCacheProfile.cs
- SymLanguageVendor.cs
- ApplicationProxyInternal.cs
- DynamicValidator.cs
- EntityDataSourceContainerNameConverter.cs
- ManifestSignedXml.cs
- ZipFileInfoCollection.cs
- EditorPartChrome.cs
- PrintingPermission.cs
- X509SecurityToken.cs
- InheritanceContextChangedEventManager.cs
- SafeCryptoKeyHandle.cs
- OutputCacheProfile.cs
- ReplyChannelBinder.cs
- WeakReferenceKey.cs
- RecognizedWordUnit.cs
- TextChange.cs
- XPathAncestorQuery.cs