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
- GAC.cs
- XmlFormatReaderGenerator.cs
- GridViewRow.cs
- DesignBindingPicker.cs
- mediapermission.cs
- COM2FontConverter.cs
- brushes.cs
- NamedObject.cs
- OleDbRowUpdatingEvent.cs
- ServerType.cs
- ToolStrip.cs
- OperatorExpressions.cs
- IndexerNameAttribute.cs
- dataobject.cs
- VisualStyleElement.cs
- CookieParameter.cs
- CellParaClient.cs
- EventDescriptorCollection.cs
- MenuBase.cs
- DataGridViewComboBoxEditingControl.cs
- DbConnectionStringCommon.cs
- NetworkCredential.cs
- ColumnWidthChangedEvent.cs
- PathData.cs
- Visual3DCollection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- JsonWriter.cs
- XPathDocumentNavigator.cs
- DataGridViewToolTip.cs
- CachedTypeface.cs
- ForeignKeyConstraint.cs
- Point3DCollection.cs
- CompensatableSequenceActivity.cs
- ValueQuery.cs
- XamlTemplateSerializer.cs
- TerminatorSinks.cs
- RuntimeEnvironment.cs
- SafeCryptHandles.cs
- SByte.cs
- IssuedTokensHeader.cs
- TemplatePartAttribute.cs
- DocumentViewerAutomationPeer.cs
- XPathQilFactory.cs
- HttpBrowserCapabilitiesBase.cs
- DrawingServices.cs
- latinshape.cs
- SamlSecurityTokenAuthenticator.cs
- Activator.cs
- FormViewPagerRow.cs
- BinaryUtilClasses.cs
- System.Data.OracleClient_BID.cs
- XsltQilFactory.cs
- ConfigXmlCDataSection.cs
- DocumentCollection.cs
- PartialCachingAttribute.cs
- CodeExporter.cs
- KeyToListMap.cs
- Comparer.cs
- COM2ExtendedUITypeEditor.cs
- CodeDefaultValueExpression.cs
- EventProviderBase.cs
- NameValueCollection.cs
- InternalSafeNativeMethods.cs
- EDesignUtil.cs
- Crc32.cs
- Site.cs
- CodeDOMProvider.cs
- DoubleConverter.cs
- XmlNodeList.cs
- EventBuilder.cs
- EdmType.cs
- XmlElementCollection.cs
- QilExpression.cs
- WebBrowserPermission.cs
- PageHandlerFactory.cs
- SqlInfoMessageEvent.cs
- FilteredDataSetHelper.cs
- CompositeDataBoundControl.cs
- QuotedStringWriteStateInfo.cs
- SizeFConverter.cs
- WinFormsComponentEditor.cs
- XmlWriter.cs
- objectresult_tresulttype.cs
- DuplicateDetector.cs
- ResourceManager.cs
- SystemIPInterfaceStatistics.cs
- CreateWorkflowOwnerCommand.cs
- Lasso.cs
- WinFormsSecurity.cs
- SqlAliasesReferenced.cs
- OleAutBinder.cs
- FixedFlowMap.cs
- safelinkcollection.cs
- PageThemeParser.cs
- IriParsingElement.cs
- CompiledIdentityConstraint.cs
- TimestampInformation.cs
- IdentifierCollection.cs
- HtmlWindowCollection.cs
- StateChangeEvent.cs