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
- MaskDesignerDialog.cs
- TextDecorationUnitValidation.cs
- DataGrid.cs
- exports.cs
- XmlMembersMapping.cs
- EntityDataSourceValidationException.cs
- EntityDataSourceQueryBuilder.cs
- TextEditorDragDrop.cs
- RSACryptoServiceProvider.cs
- ExpressionBuilder.cs
- XmlException.cs
- CryptoApi.cs
- ConfigurationValidatorAttribute.cs
- CheckBoxField.cs
- Model3DCollection.cs
- MetaType.cs
- AsymmetricKeyExchangeFormatter.cs
- IsolatedStorageFile.cs
- EntityDataSourceDesigner.cs
- StatusBarItem.cs
- ScriptControlDescriptor.cs
- InputGestureCollection.cs
- SmiMetaDataProperty.cs
- DataServiceRequestArgs.cs
- SQLDouble.cs
- TextDecoration.cs
- PanningMessageFilter.cs
- SocketPermission.cs
- InputMethodStateTypeInfo.cs
- EnumerableCollectionView.cs
- FlowDocumentView.cs
- WindowsTreeView.cs
- URLAttribute.cs
- CustomCredentialPolicy.cs
- FormatException.cs
- RegexMatchCollection.cs
- RestHandler.cs
- DataBindingExpressionBuilder.cs
- ConnectionStringsSection.cs
- FontFaceLayoutInfo.cs
- CompModSwitches.cs
- XmlDigitalSignatureProcessor.cs
- RelatedPropertyManager.cs
- TreeViewBindingsEditor.cs
- _HelperAsyncResults.cs
- MarkupExtensionSerializer.cs
- CodeArrayCreateExpression.cs
- TextRangeEditLists.cs
- DefaultEventAttribute.cs
- CatchBlock.cs
- ListSurrogate.cs
- MouseBinding.cs
- XmlSchemaComplexContentExtension.cs
- XmlProcessingInstruction.cs
- CodeTypeDeclarationCollection.cs
- DataGridSortCommandEventArgs.cs
- Matrix3DConverter.cs
- SqlDataAdapter.cs
- DigitShape.cs
- AccessibleObject.cs
- PriorityRange.cs
- MediaEntryAttribute.cs
- PeerNodeTraceRecord.cs
- RSAProtectedConfigurationProvider.cs
- ControllableStoryboardAction.cs
- HtmlTableCell.cs
- CapacityStreamGeometryContext.cs
- TextTreeTextNode.cs
- InputEventArgs.cs
- HttpServerUtilityWrapper.cs
- UInt32.cs
- SmtpNetworkElement.cs
- TheQuery.cs
- SafeNativeMethods.cs
- SystemIPv4InterfaceProperties.cs
- SharedPersonalizationStateInfo.cs
- BuildProvidersCompiler.cs
- RuntimeHelpers.cs
- Message.cs
- XmlSchemaSimpleContentExtension.cs
- Timer.cs
- ListViewInsertionMark.cs
- PeerTransportBindingElement.cs
- URLIdentityPermission.cs
- XmlNodeList.cs
- FixedLineResult.cs
- IntSumAggregationOperator.cs
- EmptyCollection.cs
- SafeWaitHandle.cs
- XmlSchemaSimpleTypeUnion.cs
- XmlBinaryReader.cs
- LoginName.cs
- EventTrigger.cs
- ColorConvertedBitmap.cs
- SynchronizedDispatch.cs
- HttpCacheVaryByContentEncodings.cs
- SendMailErrorEventArgs.cs
- EventMappingSettingsCollection.cs
- ImmutableCollection.cs
- CompoundFileIOPermission.cs