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 / Printing / PreviewPageInfo.cs / 1 / PreviewPageInfo.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Printing { using System.Diagnostics; using System; using System.Drawing; ////// /// public sealed class PreviewPageInfo { private Image image; // Physical measures in hundredths of an inch private Size physicalSize = Size.Empty; ////// Specifies print preview information for /// a single page. This class cannot be inherited. /// ////// /// public PreviewPageInfo(Image image, Size physicalSize) { this.image = image; this.physicalSize = physicalSize; } ////// Initializes a new instance of the ////// class. /// /// /// public Image Image { get { return image;} } // Physical measures in hundredths of an inch ///Gets the image of the printed page. ////// /// public Size PhysicalSize { get { return physicalSize;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //Gets the size of the printed page, in hundredths of an inch. ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Printing { using System.Diagnostics; using System; using System.Drawing; ////// /// public sealed class PreviewPageInfo { private Image image; // Physical measures in hundredths of an inch private Size physicalSize = Size.Empty; ////// Specifies print preview information for /// a single page. This class cannot be inherited. /// ////// /// public PreviewPageInfo(Image image, Size physicalSize) { this.image = image; this.physicalSize = physicalSize; } ////// Initializes a new instance of the ////// class. /// /// /// public Image Image { get { return image;} } // Physical measures in hundredths of an inch ///Gets the image of the printed page. ////// /// public Size PhysicalSize { get { return physicalSize;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Gets the size of the printed page, in hundredths of an inch. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ConfigXmlAttribute.cs
- InstanceOwnerQueryResult.cs
- AssemblyAttributesGoHere.cs
- BinaryFormatterWriter.cs
- SizeValueSerializer.cs
- DataSourceHelper.cs
- RequiredFieldValidator.cs
- EventProvider.cs
- RequestCacheValidator.cs
- UpdatePanel.cs
- RoutedEventValueSerializer.cs
- XslCompiledTransform.cs
- ToolStripRenderer.cs
- Transform3DGroup.cs
- ProcessHostFactoryHelper.cs
- UnconditionalPolicy.cs
- VBCodeProvider.cs
- SqlEnums.cs
- ConsoleKeyInfo.cs
- IChannel.cs
- Formatter.cs
- UTF32Encoding.cs
- ArcSegment.cs
- WebBaseEventKeyComparer.cs
- ClientSettingsProvider.cs
- ColumnMapTranslator.cs
- DataService.cs
- ipaddressinformationcollection.cs
- ObsoleteAttribute.cs
- DbMetaDataColumnNames.cs
- ScriptingAuthenticationServiceSection.cs
- SubclassTypeValidator.cs
- LogManagementAsyncResult.cs
- FileDialog_Vista_Interop.cs
- ChannelEndpointElementCollection.cs
- NullableDecimalAverageAggregationOperator.cs
- OleServicesContext.cs
- DataGridColumnReorderingEventArgs.cs
- Registry.cs
- TdsRecordBufferSetter.cs
- ComponentRenameEvent.cs
- HotSpotCollection.cs
- FontSource.cs
- SmiRecordBuffer.cs
- ContextMenuStripGroupCollection.cs
- RepeaterCommandEventArgs.cs
- SelectorItemAutomationPeer.cs
- SimpleHandlerFactory.cs
- ToolZone.cs
- MetricEntry.cs
- PrivacyNoticeElement.cs
- DirtyTextRange.cs
- Item.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ConfigurationException.cs
- PreApplicationStartMethodAttribute.cs
- NoClickablePointException.cs
- HebrewNumber.cs
- BindingCollection.cs
- AutoCompleteStringCollection.cs
- EntityDataSourceState.cs
- HttpNamespaceReservationInstallComponent.cs
- HttpApplicationStateBase.cs
- Msmq.cs
- BooleanFunctions.cs
- Soap.cs
- PrintPreviewControl.cs
- Double.cs
- PointValueSerializer.cs
- EllipseGeometry.cs
- MonthChangedEventArgs.cs
- ApplicationSecurityManager.cs
- MdiWindowListStrip.cs
- ScriptManager.cs
- SQLMembershipProvider.cs
- HashAlgorithm.cs
- ComAdminInterfaces.cs
- DBAsyncResult.cs
- Properties.cs
- ToolbarAUtomationPeer.cs
- X509ChainPolicy.cs
- Light.cs
- _NegotiateClient.cs
- BaseTreeIterator.cs
- StringWriter.cs
- MetadataElement.cs
- _FtpDataStream.cs
- VirtualDirectoryMapping.cs
- GeometryDrawing.cs
- ControlParameter.cs
- Interlocked.cs
- BaseValidator.cs
- HashUtility.cs
- SourceFilter.cs
- HtmlDocument.cs
- GridViewRowPresenter.cs
- HttpPostedFile.cs
- AssociationTypeEmitter.cs
- ComplexTypeEmitter.cs
- InkCanvasSelection.cs