Show / Hide Table of Contents

Class PrintViewWriter

Реализует IPrintViewWriter.

Inheritance
System.Object
PrintViewWriter
Namespace:InfinniPlatform.PrintView
Assembly:InfinniPlatform.PrintView.Abstractions.dll
Syntax
public class PrintViewWriter : object, IPrintViewWriter
Remarks

Предполагается, что в явном виде этот класс будет создаваться только в редакторе печатных представлений. В иных случаях будет использоваться IoC контейнер.

Methods

| Improve this Doc View Source

RegisterWriter(PrintViewFileFormat, IPrintDocumentWriter)

Регистрирует реализацию IPrintDocumentWriter.

Declaration
public void RegisterWriter(PrintViewFileFormat fileFormat, IPrintDocumentWriter documentWriter)
Parameters
Type Name Description
PrintViewFileFormat fileFormat
IPrintDocumentWriter documentWriter
| Improve this Doc View Source

Write(Stream, PrintDocument, PrintViewFileFormat)

Записывает документ в файл.

Declaration
public Task Write(Stream stream, PrintDocument document, PrintViewFileFormat fileFormat)
Parameters
Type Name Description
Stream stream

Поток для записи в файл.

PrintDocument document

Документ печатного представления.

PrintViewFileFormat fileFormat

Формат файла печатного представления для записи.

Returns
Type Description
Task
Implements
IPrintViewWriter.Write(Stream, PrintDocument, PrintViewFileFormat)

Extension Methods

DynamicCollectionExtensions.GetItem(Object, Int32)
DynamicCollectionExtensions.SetItem(Object, Int32, Object)
DynamicCollectionExtensions.AddItem(Object, Object)
DynamicCollectionExtensions.InsertItem(Object, Int32, Object)
DynamicCollectionExtensions.RemoveItem(Object, Object)
DynamicCollectionExtensions.RemoveItemAt(Object, Int32)
DynamicCollectionExtensions.MoveItem(Object, Object, Int32)
DynamicObjectExtensions.TryGetPropertyValue(Object, String)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TryGetPropertyValueByPath(Object, String)
DynamicObjectExtensions.TrySetPropertyValueByPath(Object, String, Object)
ReflectionExtensions.IsInstanceOfType(Object, Type)
ReflectionExtensions.GetMemberValue(Object, String)
ReflectionExtensions.SetMemberValue(Object, String, Object)
ReflectionExtensions.InvokeMember(Object, String, Object[], out Object, Type[])
ReflectionExtensions.GetFieldValue(Object, FieldInfo)
ReflectionExtensions.SetFieldValue(Object, FieldInfo, Object)
ReflectionExtensions.GetPropertyValue(Object, PropertyInfo)
ReflectionExtensions.SetPropertyValue(Object, PropertyInfo, Object)
ReflectionExtensions.GetMethodDelegate(Object, MethodInfo)
ReflectionExtensions.GetEventDelegate(Object, EventInfo)
ReflectionExtensions.SetEventDelegate(Object, EventInfo, Object)
CommonExtensions.ExecuteSilent<T>(T, Action<T>)
  • Improve this Doc
  • View Source
Back to top © Copyright Infinnity Solutions Ltd, 2010–2017.