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
- WbemProvider.cs
- EmptyControlCollection.cs
- CheckBoxPopupAdapter.cs
- DropAnimation.xaml.cs
- Internal.cs
- JavaScriptSerializer.cs
- Scanner.cs
- InputProcessorProfilesLoader.cs
- SqlParameterCollection.cs
- GPRECTF.cs
- PermissionSetEnumerator.cs
- InputBinder.cs
- EntitySqlException.cs
- Renderer.cs
- SimpleApplicationHost.cs
- PublisherIdentityPermission.cs
- ReliabilityContractAttribute.cs
- ClockController.cs
- ContentTextAutomationPeer.cs
- RepeaterItemCollection.cs
- CryptoHelper.cs
- CommonXSendMessage.cs
- ChannelBinding.cs
- BaseCodePageEncoding.cs
- EncoderBestFitFallback.cs
- TrackingProvider.cs
- QilPatternVisitor.cs
- SystemPens.cs
- propertyentry.cs
- ReaderWriterLock.cs
- PropertyChangingEventArgs.cs
- DecoderReplacementFallback.cs
- PeerChannelFactory.cs
- AuthorizationRuleCollection.cs
- SimpleType.cs
- BrushConverter.cs
- ParserOptions.cs
- AsyncWaitHandle.cs
- MessageQueuePermissionEntry.cs
- PerformanceCounterManager.cs
- DoubleLinkList.cs
- SqlDelegatedTransaction.cs
- PartManifestEntry.cs
- DBSqlParserColumnCollection.cs
- SecurityResources.cs
- SimpleWebHandlerParser.cs
- SafeFileMappingHandle.cs
- TextEditorTables.cs
- PropertyRecord.cs
- DataServiceException.cs
- XmlAttributeHolder.cs
- JoinTreeNode.cs
- FunctionQuery.cs
- OpCodes.cs
- EnterpriseServicesHelper.cs
- AsynchronousChannel.cs
- WebPartConnectionsDisconnectVerb.cs
- DataSourceControlBuilder.cs
- PageHandlerFactory.cs
- tooltip.cs
- WebPartManager.cs
- StorageModelBuildProvider.cs
- KeyValueConfigurationElement.cs
- AuthenticatingEventArgs.cs
- InvalidDocumentContentsException.cs
- ThreadExceptionDialog.cs
- MenuItemStyleCollection.cs
- localization.cs
- ListViewEditEventArgs.cs
- ToolTipService.cs
- LinqDataSourceStatusEventArgs.cs
- InputBinding.cs
- SystemInfo.cs
- TreeNodeEventArgs.cs
- DataGridViewCellMouseEventArgs.cs
- XmlSchemaSet.cs
- ConnectionPoolManager.cs
- FormViewDeleteEventArgs.cs
- DoubleLinkList.cs
- ObservableCollection.cs
- ToolStripProgressBar.cs
- DataGridViewRowCollection.cs
- Path.cs
- ServiceNameElementCollection.cs
- BinaryObjectWriter.cs
- StringDictionaryWithComparer.cs
- Pen.cs
- ZeroOpNode.cs
- SudsParser.cs
- GridItemCollection.cs
- WmpBitmapEncoder.cs
- Clock.cs
- DataServiceHost.cs
- TableHeaderCell.cs
- BlobPersonalizationState.cs
- Point.cs
- Axis.cs
- CodeLinePragma.cs
- Geometry.cs
- AjaxFrameworkAssemblyAttribute.cs