Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CommonUI / System / Drawing / Advanced / FrameDimension.cs / 1 / FrameDimension.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Imaging { using System; using System.Diagnostics; using System.Drawing; using System.ComponentModel; /** * frame dimension constants (used with Bitmap.FrameDimensionsList) */ ////// /// /// // [TypeConverterAttribute(typeof(FrameDimensionConverter))] public sealed class FrameDimension { // Frame dimension GUIDs, from sdkinc\imgguids.h private static FrameDimension time = new FrameDimension(new Guid("{6aedbd6d-3fb5-418a-83a6-7f45229dc872}")); private static FrameDimension resolution = new FrameDimension(new Guid("{84236f7b-3bd3-428f-8dab-4ea1439ca315}")); private static FrameDimension page = new FrameDimension(new Guid("{7462dc86-6180-4c7e-8e3f-ee7333a7a483}")); private Guid guid; ////// /// Initializes a new instance of the public FrameDimension(Guid guid) { this.guid = guid; } ///class with the specified GUID. /// /// /// Specifies a global unique identifier (GUID) /// that represents this public Guid Guid { get { return guid;} } ///. /// /// /// The time dimension. /// public static FrameDimension Time { get { return time;} } ////// /// The resolution dimension. /// public static FrameDimension Resolution { get { return resolution;} } ////// /// The page dimension. /// public static FrameDimension Page { get { return page;} } ////// /// Returns a value indicating whether the /// specified object is an public override bool Equals(object o) { FrameDimension format = o as FrameDimension; if (format == null) return false; return this.guid == format.guid; } ///equivalent to this . /// /// /// public override int GetHashCode() { return guid.GetHashCode(); } ///[To be supplied.] ////// /// Converts this public override string ToString() { if (this == time) return "Time"; if (this == resolution) return "Resolution"; if (this == page) return "Page"; return "[FrameDimension: " + guid + "]"; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //to a human-readable string. /// // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Imaging { using System; using System.Diagnostics; using System.Drawing; using System.ComponentModel; /** * frame dimension constants (used with Bitmap.FrameDimensionsList) */ ////// /// /// // [TypeConverterAttribute(typeof(FrameDimensionConverter))] public sealed class FrameDimension { // Frame dimension GUIDs, from sdkinc\imgguids.h private static FrameDimension time = new FrameDimension(new Guid("{6aedbd6d-3fb5-418a-83a6-7f45229dc872}")); private static FrameDimension resolution = new FrameDimension(new Guid("{84236f7b-3bd3-428f-8dab-4ea1439ca315}")); private static FrameDimension page = new FrameDimension(new Guid("{7462dc86-6180-4c7e-8e3f-ee7333a7a483}")); private Guid guid; ////// /// Initializes a new instance of the public FrameDimension(Guid guid) { this.guid = guid; } ///class with the specified GUID. /// /// /// Specifies a global unique identifier (GUID) /// that represents this public Guid Guid { get { return guid;} } ///. /// /// /// The time dimension. /// public static FrameDimension Time { get { return time;} } ////// /// The resolution dimension. /// public static FrameDimension Resolution { get { return resolution;} } ////// /// The page dimension. /// public static FrameDimension Page { get { return page;} } ////// /// Returns a value indicating whether the /// specified object is an public override bool Equals(object o) { FrameDimension format = o as FrameDimension; if (format == null) return false; return this.guid == format.guid; } ///equivalent to this . /// /// /// public override int GetHashCode() { return guid.GetHashCode(); } ///[To be supplied.] ////// /// Converts this public override string ToString() { if (this == time) return "Time"; if (this == resolution) return "Resolution"; if (this == page) return "Page"; return "[FrameDimension: " + guid + "]"; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.to a human-readable string. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TableParagraph.cs
- ContractType.cs
- SnapshotChangeTrackingStrategy.cs
- IdentifierService.cs
- Geometry.cs
- CqlWriter.cs
- HiddenFieldPageStatePersister.cs
- QilInvoke.cs
- ApplicationGesture.cs
- TextFormatter.cs
- IconConverter.cs
- DataGridViewLinkCell.cs
- streamingZipPartStream.cs
- JsonStringDataContract.cs
- ObjectDataSourceMethodEditor.cs
- HttpCacheVaryByContentEncodings.cs
- Image.cs
- StringValueSerializer.cs
- AnnotationHighlightLayer.cs
- BitmapCodecInfo.cs
- ViewCellRelation.cs
- SimpleType.cs
- TableLayoutStyle.cs
- XmlImplementation.cs
- URLBuilder.cs
- IIS7WorkerRequest.cs
- CollectionExtensions.cs
- SimpleApplicationHost.cs
- ModifierKeysConverter.cs
- UITypeEditor.cs
- TaiwanLunisolarCalendar.cs
- QueryReaderSettings.cs
- OdbcException.cs
- DataBindingValueUIHandler.cs
- CoTaskMemSafeHandle.cs
- DecoderFallbackWithFailureFlag.cs
- TakeOrSkipWhileQueryOperator.cs
- WindowsComboBox.cs
- Helper.cs
- Rectangle.cs
- DataColumnMapping.cs
- InteropDesigner.xaml.cs
- XsdValidatingReader.cs
- AsyncOperation.cs
- TreeViewImageKeyConverter.cs
- XsltException.cs
- StrokeRenderer.cs
- SecurityTokenProvider.cs
- ExcludePathInfo.cs
- DuplicateWaitObjectException.cs
- ConnectionStringSettings.cs
- MimeBasePart.cs
- XNodeNavigator.cs
- ContentControl.cs
- PinnedBufferMemoryStream.cs
- BridgeDataReader.cs
- SizeConverter.cs
- MutexSecurity.cs
- RightsManagementEncryptionTransform.cs
- ExceptionRoutedEventArgs.cs
- ElementMarkupObject.cs
- X500Name.cs
- HttpWebResponse.cs
- AutomationPatternInfo.cs
- UInt16.cs
- CorrelationKeyCalculator.cs
- ExceptionValidationRule.cs
- RenameRuleObjectDialog.cs
- AuthorizationSection.cs
- XslAstAnalyzer.cs
- EncryptedKey.cs
- HttpChannelBindingToken.cs
- CursorConverter.cs
- MethodInfo.cs
- X509IssuerSerialKeyIdentifierClause.cs
- EventProviderWriter.cs
- PerspectiveCamera.cs
- VisualBrush.cs
- Validator.cs
- XmlSchemaObject.cs
- MenuItem.cs
- EmptyImpersonationContext.cs
- XpsResourcePolicy.cs
- RecognitionEventArgs.cs
- BaseDataBoundControl.cs
- TableLayoutPanelDesigner.cs
- AssemblyName.cs
- ProfileSettingsCollection.cs
- GeometryHitTestParameters.cs
- XPathDocument.cs
- PageCatalogPartDesigner.cs
- X509InitiatorCertificateServiceElement.cs
- StylusPointCollection.cs
- Attributes.cs
- Brush.cs
- DefaultBinder.cs
- SystemIcmpV4Statistics.cs
- HashHelpers.cs
- FormView.cs
- Win32.cs