Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Advanced / FrameDimension.cs / 2 / 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
- UIElement3D.cs
- FormViewUpdateEventArgs.cs
- ReadOnlyTernaryTree.cs
- SoapWriter.cs
- ColumnCollection.cs
- DependentList.cs
- EpmContentSerializer.cs
- NewArray.cs
- XmlWellformedWriter.cs
- NumberAction.cs
- TreeViewImageIndexConverter.cs
- XslCompiledTransform.cs
- RuntimeArgumentHandle.cs
- InternalBase.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- ScrollBarRenderer.cs
- ImageIndexConverter.cs
- X509ScopedServiceCertificateElementCollection.cs
- diagnosticsswitches.cs
- TextBoxLine.cs
- ProfileInfo.cs
- SecurityToken.cs
- NativeMethods.cs
- LinkedResource.cs
- ExpressionBindingCollection.cs
- OrderedDictionary.cs
- DBPropSet.cs
- WebServiceParameterData.cs
- SqlProfileProvider.cs
- WorkflowApplicationTerminatedException.cs
- BooleanSwitch.cs
- SmiMetaData.cs
- EdmFunctionAttribute.cs
- PingOptions.cs
- StylusPlugInCollection.cs
- PreservationFileWriter.cs
- ThicknessAnimationBase.cs
- DefaultPropertyAttribute.cs
- GradientStopCollection.cs
- PenThreadWorker.cs
- FilteredSchemaElementLookUpTable.cs
- Int16.cs
- LocalizabilityAttribute.cs
- EncryptedType.cs
- MultipleViewPattern.cs
- MetaDataInfo.cs
- Mappings.cs
- WebConfigurationHostFileChange.cs
- XPathNodeInfoAtom.cs
- ListViewGroup.cs
- ContextConfiguration.cs
- EncodingStreamWrapper.cs
- EdmValidator.cs
- SelectionRange.cs
- Variant.cs
- WinFormsComponentEditor.cs
- WorkItem.cs
- EncoderParameters.cs
- TablePattern.cs
- SequenceNumber.cs
- TypeContext.cs
- OraclePermission.cs
- TypeDelegator.cs
- CorrelationValidator.cs
- TreeViewDataItemAutomationPeer.cs
- XmlSchemaAttributeGroupRef.cs
- SmtpSection.cs
- RequestDescription.cs
- TableLayoutSettings.cs
- XmlSchemaSequence.cs
- Walker.cs
- FullTextLine.cs
- MaterialCollection.cs
- IndependentAnimationStorage.cs
- SerializationStore.cs
- ApplicationSettingsBase.cs
- LoginCancelEventArgs.cs
- EndpointIdentityExtension.cs
- IIS7ConfigurationLoader.cs
- UrlMappingCollection.cs
- ScrollProviderWrapper.cs
- Switch.cs
- TransformProviderWrapper.cs
- PeerUnsafeNativeMethods.cs
- CodeStatementCollection.cs
- PropertyStore.cs
- LocatorPartList.cs
- WindowsFormsHostPropertyMap.cs
- AnimatedTypeHelpers.cs
- StylusPointProperty.cs
- AppSettingsExpressionBuilder.cs
- DataGridViewColumnTypeEditor.cs
- BehaviorEditorPart.cs
- XmlSchemaSequence.cs
- ELinqQueryState.cs
- XmlTextWriter.cs
- XmlLanguage.cs
- DrawItemEvent.cs
- CollectionType.cs
- SourceSwitch.cs