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
- TextEditorSelection.cs
- DiscoveryDocumentSearchPattern.cs
- SimpleFileLog.cs
- SqlBuilder.cs
- XPathNode.cs
- PassportPrincipal.cs
- WebPartVerb.cs
- WebPartTransformerCollection.cs
- ParameterToken.cs
- CodeIdentifier.cs
- AppDomainManager.cs
- DesignerMetadata.cs
- Pair.cs
- IgnoreSection.cs
- SamlAuthorizationDecisionStatement.cs
- BuildProvider.cs
- XmlMembersMapping.cs
- JsonServiceDocumentSerializer.cs
- TogglePattern.cs
- _NegoStream.cs
- httpserverutility.cs
- SelectionPatternIdentifiers.cs
- TreeViewEvent.cs
- DesignerWidgets.cs
- SqlMethods.cs
- ProcessModelInfo.cs
- MTConfigUtil.cs
- SelectionRange.cs
- BadImageFormatException.cs
- DES.cs
- HtmlShim.cs
- InternalBufferOverflowException.cs
- NetMsmqSecurity.cs
- Timeline.cs
- InstanceCompleteException.cs
- XmlSerializationReader.cs
- WeakEventManager.cs
- ExtentCqlBlock.cs
- TypeExtension.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- CapabilitiesRule.cs
- ProcessModule.cs
- SubtreeProcessor.cs
- EdmScalarPropertyAttribute.cs
- Switch.cs
- Model3D.cs
- ExtendedPropertyDescriptor.cs
- ToolbarAUtomationPeer.cs
- ValidatedControlConverter.cs
- XmlWriter.cs
- SelectionManager.cs
- DefaultAsyncDataDispatcher.cs
- WebMessageEncodingBindingElement.cs
- BamlTreeNode.cs
- AlternateViewCollection.cs
- Util.cs
- ProcessHostFactoryHelper.cs
- SqlClientWrapperSmiStream.cs
- EncoderParameter.cs
- QEncodedStream.cs
- RoleGroupCollection.cs
- TextProperties.cs
- CompositeDataBoundControl.cs
- SelectionEditingBehavior.cs
- SmtpNtlmAuthenticationModule.cs
- Regex.cs
- DragCompletedEventArgs.cs
- PresentationAppDomainManager.cs
- ValueTable.cs
- InvalidOperationException.cs
- URIFormatException.cs
- PhonemeEventArgs.cs
- RegistrationServices.cs
- MetadataSerializer.cs
- ProgressBarHighlightConverter.cs
- MSG.cs
- FormatSelectingMessageInspector.cs
- CompletionProxy.cs
- TopClause.cs
- EventRouteFactory.cs
- DataGridViewRowStateChangedEventArgs.cs
- SvcMapFileSerializer.cs
- XmlAttributeCollection.cs
- QueryableDataSourceView.cs
- XslCompiledTransform.cs
- VisualTreeHelper.cs
- InternalBufferOverflowException.cs
- BamlResourceDeserializer.cs
- TypedTableBase.cs
- Options.cs
- EventMappingSettings.cs
- ConnectionInterfaceCollection.cs
- ObjectListCommandsPage.cs
- CommonGetThemePartSize.cs
- MappingMetadataHelper.cs
- RegexGroupCollection.cs
- MachineKeyValidationConverter.cs
- ChannelServices.cs
- securitycriticaldataformultiplegetandset.cs
- StreamGeometry.cs