Property MaxDocumentBytes
- Namespace
- IntentSharp.Documents
- Assembly
- IntentSharp.dll
MaxDocumentBytes
The largest document the store takes, in bytes. A working copy larger than this is not read: it is reported in Problems with its size, any running version stays in effect, and nothing of it reaches the history. A save of a larger text throws ArgumentException, and the client's edit seam refuses a larger edit to this store before any validator reads it (see MaxEditBytes); behind a store of your own that wraps this one, the seam refuses it when the save is refused. A file's size is its length on disk; a text's is its length in UTF-8, the encoding the store writes. Default 4 MB (4,194,304 bytes); at least 1. Raise it in code for larger documents; a document never changes it.
public int MaxDocumentBytes { get; set; }
Property Value
- int