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
- DbParameterCollectionHelper.cs
- DbConnectionPoolCounters.cs
- Processor.cs
- _FtpDataStream.cs
- FormClosedEvent.cs
- ExpandCollapseProviderWrapper.cs
- PerformanceCounterManager.cs
- selecteditemcollection.cs
- Bold.cs
- ScrollChrome.cs
- SQLChars.cs
- Trigger.cs
- SafeCoTaskMem.cs
- DataSourceHelper.cs
- TagMapCollection.cs
- TempEnvironment.cs
- ContentPosition.cs
- XmlSchemaSimpleTypeList.cs
- TraceLog.cs
- LinkConverter.cs
- WebControlAdapter.cs
- XmlObjectSerializerWriteContextComplex.cs
- CompiledIdentityConstraint.cs
- Emitter.cs
- AnnotationObservableCollection.cs
- RectangleGeometry.cs
- ADMembershipProvider.cs
- Context.cs
- XmlNode.cs
- InvokeMethodActivityDesigner.cs
- DesignBindingPicker.cs
- Condition.cs
- ConfigDefinitionUpdates.cs
- EntityDataSourceView.cs
- ClientTargetSection.cs
- GenerateTemporaryTargetAssembly.cs
- CustomCredentialPolicy.cs
- DelegateSerializationHolder.cs
- WebContext.cs
- SiblingIterators.cs
- HtmlHead.cs
- ConfigXmlComment.cs
- DataSourceView.cs
- GZipUtils.cs
- CacheOutputQuery.cs
- OracleInternalConnection.cs
- DoubleIndependentAnimationStorage.cs
- PerfProviderCollection.cs
- AspNetSynchronizationContext.cs
- BitmapCacheBrush.cs
- RuntimeConfigurationRecord.cs
- XPathDocumentIterator.cs
- DataTableReader.cs
- PagedControl.cs
- SubMenuStyleCollection.cs
- TextCharacters.cs
- BamlResourceContent.cs
- GuidConverter.cs
- ReflectionUtil.cs
- OutputCacheProfileCollection.cs
- FixedDSBuilder.cs
- CodeThrowExceptionStatement.cs
- AuthenticationManager.cs
- IntMinMaxAggregationOperator.cs
- XsltLibrary.cs
- SqlServer2KCompatibilityAnnotation.cs
- BamlLocalizer.cs
- ButtonColumn.cs
- StreamGeometry.cs
- QilGeneratorEnv.cs
- Timer.cs
- ConnectionManagementSection.cs
- ParseElement.cs
- PackWebRequest.cs
- MediaTimeline.cs
- PickBranchDesigner.xaml.cs
- IntSecurity.cs
- TransactionState.cs
- EdmRelationshipRoleAttribute.cs
- BulletChrome.cs
- InfoCardClaimCollection.cs
- TransformedBitmap.cs
- Int32Rect.cs
- BooleanStorage.cs
- NotifyCollectionChangedEventArgs.cs
- IIS7UserPrincipal.cs
- TabPanel.cs
- Int32CAMarshaler.cs
- Annotation.cs
- PartDesigner.cs
- PenLineJoinValidation.cs
- TextEmbeddedObject.cs
- GridItemCollection.cs
- WebReferencesBuildProvider.cs
- CodeExpressionStatement.cs
- MailDefinition.cs
- SchemaImporter.cs
- ClientRoleProvider.cs
- ServiceProviders.cs
- AlphabeticalEnumConverter.cs