Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- XmlCharacterData.cs
- PropertyFilterAttribute.cs
- ServiceOperationListItem.cs
- HTTPNotFoundHandler.cs
- MemberBinding.cs
- LinkArea.cs
- TypeDependencyAttribute.cs
- EventRouteFactory.cs
- ToggleButtonAutomationPeer.cs
- StringFunctions.cs
- loginstatus.cs
- XmlHierarchicalEnumerable.cs
- EnumValAlphaComparer.cs
- Keywords.cs
- FixUp.cs
- ColorBlend.cs
- EntityTransaction.cs
- VectorCollectionConverter.cs
- Utils.cs
- UInt32Converter.cs
- CodeCommentStatementCollection.cs
- DataGridRelationshipRow.cs
- Expander.cs
- ObjectHelper.cs
- IFormattable.cs
- SchemaNames.cs
- Brush.cs
- PagedDataSource.cs
- ProfilePropertyNameValidator.cs
- ForEachAction.cs
- SafeNativeMethods.cs
- Transform.cs
- SoapSchemaExporter.cs
- AdCreatedEventArgs.cs
- SqlProvider.cs
- Ports.cs
- SecurityResources.cs
- MultipleViewPattern.cs
- DiffuseMaterial.cs
- ResourceDictionary.cs
- StringFunctions.cs
- Point3DKeyFrameCollection.cs
- HtmlElementEventArgs.cs
- FlowDocumentReader.cs
- Window.cs
- SchemeSettingElement.cs
- FastPropertyAccessor.cs
- PackageDocument.cs
- XmlCountingReader.cs
- MappingMetadataHelper.cs
- TimeSpanOrInfiniteValidator.cs
- CodeTypeParameterCollection.cs
- ReadingWritingEntityEventArgs.cs
- EdmTypeAttribute.cs
- PixelFormatConverter.cs
- LoadRetryHandler.cs
- XmlUtf8RawTextWriter.cs
- EncodingInfo.cs
- WorkflowInstanceAbortedRecord.cs
- ShapeTypeface.cs
- SafeSerializationManager.cs
- DetailsViewModeEventArgs.cs
- Semaphore.cs
- QualifiedCellIdBoolean.cs
- SafeLibraryHandle.cs
- HtmlInputCheckBox.cs
- InheritanceContextHelper.cs
- UTF7Encoding.cs
- ReliabilityContractAttribute.cs
- ColorTranslator.cs
- ActiveXHost.cs
- OdbcStatementHandle.cs
- TableRowCollection.cs
- METAHEADER.cs
- UIElementHelper.cs
- DataGridViewRowConverter.cs
- ProxyWebPartConnectionCollection.cs
- VisualStyleInformation.cs
- ImageConverter.cs
- SqlRewriteScalarSubqueries.cs
- diagnosticsswitches.cs
- OutputScopeManager.cs
- PackUriHelper.cs
- EncryptedXml.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- RtfToXamlLexer.cs
- MappingModelBuildProvider.cs
- AllMembershipCondition.cs
- KeyboardNavigation.cs
- DataGridViewCellStateChangedEventArgs.cs
- CompiledQueryCacheKey.cs
- BevelBitmapEffect.cs
- XmlTextEncoder.cs
- SortedDictionary.cs
- AxWrapperGen.cs
- Html32TextWriter.cs
- RegexCapture.cs
- TypedReference.cs
- SqlDataSourceView.cs