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
- OrderedEnumerableRowCollection.cs
- ConfigurationManagerHelperFactory.cs
- AtomMaterializerLog.cs
- PropertyGeneratedEventArgs.cs
- HtmlButton.cs
- Rectangle.cs
- MimeReflector.cs
- OdbcErrorCollection.cs
- TypefaceMetricsCache.cs
- MDIControlStrip.cs
- InfoCardPolicy.cs
- ScriptReferenceBase.cs
- WorkItem.cs
- ControlPropertyNameConverter.cs
- SafeFileMappingHandle.cs
- DetailsViewPagerRow.cs
- DependencyObject.cs
- ValidateNames.cs
- ProviderBase.cs
- CommandEventArgs.cs
- ResXFileRef.cs
- SqlErrorCollection.cs
- AstTree.cs
- ProviderConnectionPointCollection.cs
- FtpWebResponse.cs
- SubtreeProcessor.cs
- WS2007HttpBinding.cs
- DataGridLengthConverter.cs
- TableCell.cs
- SoapMessage.cs
- ToolBarPanel.cs
- MessageTraceRecord.cs
- SelectionWordBreaker.cs
- DataGridViewToolTip.cs
- LayoutDump.cs
- PreviewPrintController.cs
- HtmlInputSubmit.cs
- SamlAssertion.cs
- MaskedTextBoxTextEditorDropDown.cs
- TreeViewCancelEvent.cs
- ThreadInterruptedException.cs
- PlainXmlSerializer.cs
- SettingsPropertyValueCollection.cs
- SettingsProviderCollection.cs
- RequiredFieldValidator.cs
- LayoutDump.cs
- InputBinding.cs
- WmlListAdapter.cs
- MetadataItemEmitter.cs
- DesignerValidationSummaryAdapter.cs
- NavigationExpr.cs
- DecimalAnimationUsingKeyFrames.cs
- InternalSafeNativeMethods.cs
- StoreContentChangedEventArgs.cs
- Query.cs
- SqlHelper.cs
- MethodImplAttribute.cs
- NumericExpr.cs
- BaseTemplateParser.cs
- TextServicesCompartment.cs
- KnownBoxes.cs
- ConfigurationStrings.cs
- InstallerTypeAttribute.cs
- FormViewPagerRow.cs
- CommandID.cs
- RootAction.cs
- Button.cs
- RSAPKCS1SignatureFormatter.cs
- BrowserDefinition.cs
- HttpCookiesSection.cs
- ChtmlFormAdapter.cs
- XmlNodeChangedEventArgs.cs
- X509ScopedServiceCertificateElement.cs
- XmlSchemaExternal.cs
- FtpWebResponse.cs
- EnvironmentPermission.cs
- ObfuscateAssemblyAttribute.cs
- TextEditorTables.cs
- IncomingWebRequestContext.cs
- TableItemStyle.cs
- InternalSafeNativeMethods.cs
- TextPointerBase.cs
- FixedPage.cs
- HuffModule.cs
- Schema.cs
- PersistStreamTypeWrapper.cs
- TextSelectionHighlightLayer.cs
- RoutedPropertyChangedEventArgs.cs
- SizeF.cs
- Application.cs
- SetterBase.cs
- ListViewContainer.cs
- DocumentOutline.cs
- DocumentOrderComparer.cs
- SuppressMergeCheckAttribute.cs
- QilXmlWriter.cs
- DynamicPropertyHolder.cs
- UniqueIdentifierService.cs
- DataSourceSelectArguments.cs
- DomNameTable.cs