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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AtomPub10CategoriesDocumentFormatter.cs
- ComponentResourceManager.cs
- cryptoapiTransform.cs
- BitmapCacheBrush.cs
- ComponentChangedEvent.cs
- DocumentViewerBaseAutomationPeer.cs
- DataObjectSettingDataEventArgs.cs
- ConstructorNeedsTagAttribute.cs
- SecurityTokenProvider.cs
- SQLMembershipProvider.cs
- DataBoundControlAdapter.cs
- ManagementNamedValueCollection.cs
- SchemaMerger.cs
- DbConnectionPoolGroup.cs
- SqlCrossApplyToCrossJoin.cs
- BorderGapMaskConverter.cs
- FileFormatException.cs
- CodeSubDirectoriesCollection.cs
- AttachmentCollection.cs
- InvalidCastException.cs
- TimeoutValidationAttribute.cs
- NavigationPropertyEmitter.cs
- HandlerFactoryWrapper.cs
- CLRBindingWorker.cs
- HMACSHA384.cs
- ChtmlPhoneCallAdapter.cs
- SystemIPGlobalProperties.cs
- EntitySetRetriever.cs
- StackSpiller.Bindings.cs
- PropertyGrid.cs
- ToolStripItem.cs
- Preprocessor.cs
- ToolStripDropDownClosingEventArgs.cs
- StreamAsIStream.cs
- SplineKeyFrames.cs
- TypeSemantics.cs
- MailAddress.cs
- TypeElementCollection.cs
- ServiceEndpointElementCollection.cs
- Rect.cs
- XmlDataSourceNodeDescriptor.cs
- CalendarItem.cs
- EntitySet.cs
- ReversePositionQuery.cs
- TextContainer.cs
- ValuePattern.cs
- DataServiceProcessingPipeline.cs
- NetworkInformationPermission.cs
- DataGridSortCommandEventArgs.cs
- Error.cs
- Win32.cs
- CustomCategoryAttribute.cs
- CodeTypeDeclarationCollection.cs
- WorkBatch.cs
- DataControlCommands.cs
- ContractSearchPattern.cs
- OleDbEnumerator.cs
- ModelUIElement3D.cs
- DesignerDataColumn.cs
- CacheManager.cs
- BamlLocalizableResource.cs
- SqlUserDefinedTypeAttribute.cs
- DataGridRowDetailsEventArgs.cs
- StrongNameMembershipCondition.cs
- Region.cs
- MessageHeaderDescriptionCollection.cs
- PublisherMembershipCondition.cs
- RijndaelCryptoServiceProvider.cs
- IPHostEntry.cs
- BrowserDefinition.cs
- Expression.cs
- SecurityException.cs
- ListViewItem.cs
- TypeTypeConverter.cs
- SymDocumentType.cs
- VirtualizingStackPanel.cs
- Underline.cs
- ThreadExceptionDialog.cs
- XmlUtf8RawTextWriter.cs
- COM2PictureConverter.cs
- InfoCardSymmetricAlgorithm.cs
- AppSettingsReader.cs
- RijndaelManaged.cs
- BoundField.cs
- TableAutomationPeer.cs
- InheritablePropertyChangeInfo.cs
- Serializer.cs
- ProxySimple.cs
- Event.cs
- Stacktrace.cs
- CollectionViewGroup.cs
- SafeNativeMethodsOther.cs
- ExtentCqlBlock.cs
- TreeNodeCollection.cs
- UpdatePanel.cs
- Thickness.cs
- ValidationErrorCollection.cs
- ProtocolsConfiguration.cs
- Clause.cs
- TabletDevice.cs