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
- HMAC.cs
- SecurityKeyUsage.cs
- SimpleHandlerBuildProvider.cs
- EventPropertyMap.cs
- FileSystemEnumerable.cs
- ChannelTerminatedException.cs
- xdrvalidator.cs
- LicenseException.cs
- RsaSecurityToken.cs
- ConcurrencyMode.cs
- Span.cs
- HtmlValidatorAdapter.cs
- DataGridViewTopLeftHeaderCell.cs
- TreeChangeInfo.cs
- ListenerConfig.cs
- AsnEncodedData.cs
- ContextQuery.cs
- CodePrimitiveExpression.cs
- SamlAuthorityBinding.cs
- TextEditorMouse.cs
- BlockUIContainer.cs
- CloudCollection.cs
- CompiledQueryCacheEntry.cs
- GridViewUpdatedEventArgs.cs
- FormatControl.cs
- TreeView.cs
- DotExpr.cs
- UdpSocket.cs
- EnumValAlphaComparer.cs
- TagElement.cs
- CaretElement.cs
- ImageDrawing.cs
- InstanceData.cs
- MachineKeySection.cs
- XmlWellformedWriter.cs
- MouseButtonEventArgs.cs
- SqlInfoMessageEvent.cs
- EmbeddedMailObjectCollectionEditor.cs
- Root.cs
- Span.cs
- InternalSafeNativeMethods.cs
- LogEntry.cs
- InfoCardKeyedHashAlgorithm.cs
- XmlUTF8TextReader.cs
- CloudCollection.cs
- StickyNoteHelper.cs
- ProcessProtocolHandler.cs
- ResourceSetExpression.cs
- Brush.cs
- AvTraceFormat.cs
- BaseAsyncResult.cs
- VirtualDirectoryMappingCollection.cs
- ActivityTypeResolver.xaml.cs
- ErrorHandler.cs
- MenuItem.cs
- UnsafePeerToPeerMethods.cs
- RegistryDataKey.cs
- MarkupObject.cs
- Accessible.cs
- LayoutUtils.cs
- Journal.cs
- MsmqHostedTransportConfiguration.cs
- RightNameExpirationInfoPair.cs
- PrintController.cs
- DoubleLink.cs
- WebServiceParameterData.cs
- ProxyHelper.cs
- HttpCookiesSection.cs
- ClientConfigurationSystem.cs
- ProtocolsConfigurationEntry.cs
- ControlUtil.cs
- XPathScanner.cs
- ConfigsHelper.cs
- SqlNotificationEventArgs.cs
- GridViewColumnHeader.cs
- CatalogZoneBase.cs
- AsyncStreamReader.cs
- ObjectStateManager.cs
- DesignObjectWrapper.cs
- _HelperAsyncResults.cs
- HebrewCalendar.cs
- MergablePropertyAttribute.cs
- ProcessHostMapPath.cs
- TemplateGroupCollection.cs
- RegexMatch.cs
- Viewport2DVisual3D.cs
- ReadOnlyHierarchicalDataSourceView.cs
- StringUtil.cs
- XmlQueryRuntime.cs
- DbParameterCollectionHelper.cs
- UIElementParaClient.cs
- ResourceDescriptionAttribute.cs
- DescendantQuery.cs
- HealthMonitoringSection.cs
- OdbcEnvironment.cs
- _NativeSSPI.cs
- ArrayTypeMismatchException.cs
- AudioFileOut.cs
- CodeAttributeDeclarationCollection.cs
- ResolvedKeyFrameEntry.cs