Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CommonUI / System / Drawing / Printing / QueryPageSettingsEventArgs.cs / 1 / QueryPageSettingsEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Drawing.Printing {
using System.Diagnostics;
using System;
using System.Drawing;
using Microsoft.Win32;
using System.ComponentModel;
///
///
///
/// Provides data for the event.
///
///
public class QueryPageSettingsEventArgs : PrintEventArgs {
private PageSettings pageSettings;
///
///
///
/// Initializes a new instance of the class.
///
///
public QueryPageSettingsEventArgs(PageSettings pageSettings) : base() {
this.pageSettings = pageSettings;
}
///
///
///
/// Gets or sets the page settings for the page to be printed.
///
///
public PageSettings PageSettings {
get { return pageSettings;}
set {
if (value == null)
value = new PageSettings();
pageSettings = value;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PaperSize.cs
- FrameworkElement.cs
- ActivityValidator.cs
- HttpRuntimeSection.cs
- TablePatternIdentifiers.cs
- EncryptedPackage.cs
- XmlSchemaObject.cs
- PhonemeConverter.cs
- DbConnectionClosed.cs
- Int32Collection.cs
- HtmlForm.cs
- WindowsFont.cs
- StreamResourceInfo.cs
- DesignerAttribute.cs
- CapabilitiesState.cs
- smtppermission.cs
- Roles.cs
- Image.cs
- ExecutedRoutedEventArgs.cs
- Int64KeyFrameCollection.cs
- TrueReadOnlyCollection.cs
- PolyQuadraticBezierSegment.cs
- XPathNode.cs
- Perspective.cs
- NavigationProgressEventArgs.cs
- AssemblyNameUtility.cs
- WindowsButton.cs
- SelectionWordBreaker.cs
- Compensate.cs
- ArrayHelper.cs
- CodeIdentifiers.cs
- OletxEnlistment.cs
- InkCanvas.cs
- EntityWithKeyStrategy.cs
- UdpDuplexChannel.cs
- Math.cs
- SimpleHandlerBuildProvider.cs
- Bidi.cs
- UpWmlPageAdapter.cs
- StatusBarAutomationPeer.cs
- EncoderNLS.cs
- WebPartConnectionsCancelVerb.cs
- System.Data.OracleClient_BID.cs
- DesignerActionGlyph.cs
- COM2ICategorizePropertiesHandler.cs
- XmlExceptionHelper.cs
- TemplateManager.cs
- OutputWindow.cs
- RTLAwareMessageBox.cs
- LockCookie.cs
- Point3DAnimationBase.cs
- ImageSource.cs
- FormViewDeleteEventArgs.cs
- TransactionManager.cs
- SchemaImporter.cs
- VisualBrush.cs
- StorageRoot.cs
- DataGridViewButtonColumn.cs
- SecureEnvironment.cs
- LinkUtilities.cs
- SmtpFailedRecipientException.cs
- SettingsPropertyValueCollection.cs
- HttpListenerElement.cs
- CodeThrowExceptionStatement.cs
- LogRestartAreaEnumerator.cs
- StringArrayConverter.cs
- WebReferenceOptions.cs
- ModelPropertyImpl.cs
- WindowsScroll.cs
- Connector.cs
- XmlSchemaAnyAttribute.cs
- ProviderConnectionPointCollection.cs
- SQlBooleanStorage.cs
- PTManager.cs
- SpeechDetectedEventArgs.cs
- UniformGrid.cs
- CodeTypeReferenceExpression.cs
- IdentityReference.cs
- PageRouteHandler.cs
- TextParaClient.cs
- HexParser.cs
- XmlExpressionDumper.cs
- WebPartAddingEventArgs.cs
- PageCodeDomTreeGenerator.cs
- Int16Animation.cs
- MetaForeignKeyColumn.cs
- WebUtil.cs
- RequestUriProcessor.cs
- Win32Native.cs
- XamlToRtfWriter.cs
- InfoCardRSACryptoProvider.cs
- IsolatedStorageFileStream.cs
- OpCellTreeNode.cs
- SelectorAutomationPeer.cs
- DataRow.cs
- SystemIPAddressInformation.cs
- ViewStateException.cs
- JsonSerializer.cs
- PageParserFilter.cs
- KeysConverter.cs