Show / Hide Table of Contents

Class PrintDocumentBuilder

Реализует IPrintDocumentBuilder.

Inheritance
System.Object
PrintDocumentBuilder
Namespace:InfinniPlatform.PrintView.Factories
Assembly:InfinniPlatform.PrintView.dll
Syntax
public class PrintDocumentBuilder : object, IPrintDocumentBuilder
Remarks

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

Constructors

| Improve this Doc View Source

PrintDocumentBuilder(Boolean)

Конструктор.

Declaration
public PrintDocumentBuilder(bool isDesignMode = false)
Parameters
Type Name Description
System.Boolean isDesignMode

Работа в режиме редактора печатных представлений.

Methods

| Improve this Doc View Source

Build(PrintDocument, Object, PrintDocumentMap)

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

Declaration
public PrintDocument Build(PrintDocument template, object dataSource, PrintDocumentMap documentMap = null)
Parameters
Type Name Description
PrintDocument template

Шаблон печатного представления.

System.Object dataSource

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

PrintDocumentMap documentMap

Соответствие между элементами документа и их шаблонами.

Returns
Type Description
PrintDocument

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

Implements
IPrintDocumentBuilder.Build(PrintDocument, Object, PrintDocumentMap)

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.