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
- cookiecollection.cs
- SqlCacheDependencySection.cs
- TemplateEditingFrame.cs
- MimeObjectFactory.cs
- WebPartCollection.cs
- Tuple.cs
- StaticContext.cs
- FunctionCommandText.cs
- ConfigurationSectionGroup.cs
- SQLConvert.cs
- EdmSchemaError.cs
- NegationPusher.cs
- XmlEventCache.cs
- EventRouteFactory.cs
- metadatamappinghashervisitor.cs
- FacetChecker.cs
- MemberCollection.cs
- DataGridViewBand.cs
- recordstatefactory.cs
- EventWaitHandle.cs
- NullRuntimeConfig.cs
- FixedBufferAttribute.cs
- UInt32Converter.cs
- BackStopAuthenticationModule.cs
- COM2FontConverter.cs
- ControlPaint.cs
- XmlSchemaSimpleTypeRestriction.cs
- TimelineCollection.cs
- TrimSurroundingWhitespaceAttribute.cs
- WriteTimeStream.cs
- ScalarRestriction.cs
- RunClient.cs
- safemediahandle.cs
- DiagnosticsElement.cs
- TrustSection.cs
- AsyncOperationManager.cs
- TextBounds.cs
- SessionIDManager.cs
- QilXmlReader.cs
- GPPOINTF.cs
- IdentityReference.cs
- Trustee.cs
- UnionCodeGroup.cs
- OleDbCommandBuilder.cs
- DateTimeFormatInfo.cs
- StylusSystemGestureEventArgs.cs
- COM2ExtendedUITypeEditor.cs
- HttpCapabilitiesBase.cs
- DomainUpDown.cs
- AssemblyInfo.cs
- EventQueueState.cs
- CacheForPrimitiveTypes.cs
- Rect.cs
- WorkflowOwnershipException.cs
- RuleSetReference.cs
- XPathMessageContext.cs
- SqlConnectionPoolGroupProviderInfo.cs
- CreateUserWizardStep.cs
- BatchParser.cs
- DecryptedHeader.cs
- ArrayConverter.cs
- FlowLayout.cs
- XsltConvert.cs
- InstanceDataCollectionCollection.cs
- ControlIdConverter.cs
- Image.cs
- UIElement.cs
- ResourceIDHelper.cs
- XPathPatternParser.cs
- COM2IPerPropertyBrowsingHandler.cs
- CompareValidator.cs
- ObjectStateEntryDbDataRecord.cs
- RegexWorker.cs
- NativeMethods.cs
- CategoriesDocument.cs
- SplineKeyFrames.cs
- XmlNodeComparer.cs
- XmlQueryOutput.cs
- ContextCorrelationInitializer.cs
- DbMetaDataFactory.cs
- ToolTipAutomationPeer.cs
- XmlTextReader.cs
- PlainXmlWriter.cs
- Int32Storage.cs
- LogicalCallContext.cs
- HostProtectionPermission.cs
- CachingHintValidation.cs
- FixedSOMElement.cs
- RegionData.cs
- IPGlobalProperties.cs
- TransformDescriptor.cs
- LinqDataSourceHelper.cs
- HandledEventArgs.cs
- DataColumn.cs
- XsltLibrary.cs
- ReferenceTypeElement.cs
- InvalidCastException.cs
- TextBoxRenderer.cs
- safelink.cs
- FontStyleConverter.cs