diff --git a/english/cpp/aspose.pdf.annotations/markupannotation/_index.md b/english/cpp/aspose.pdf.annotations/markupannotation/_index.md index 7762839a43..def46ada32 100644 --- a/english/cpp/aspose.pdf.annotations/markupannotation/_index.md +++ b/english/cpp/aspose.pdf.annotations/markupannotation/_index.md @@ -29,7 +29,7 @@ class MarkupAnnotation : public Aspose::Pdf::Annotations::Annotation, | [get_ReplyType](./get_replytype/)() | A string specifying the relationship (the "reply type") between this annotation and one specified by InReplyTo. | | [get_RichText](./get_richtext/)() | Gets a rich text string to be displayed in the pop-up window when the annotation is opened. | | [get_Subject](./get_subject/)() | Gets text representing desciption of the object. | -| [get_Title](./get_title/)() override | Gets a text label that shall be displayed in the title bar of the annotation's popup window when open and active. This entry shall identify the user who added the annotation. | +| [get_Title](./get_title/)() override | Gets a text label that shall be displayed in the title bar of the annotation�s popup window when open and active. This entry shall identify the user who added the annotation. | | [GetState](./getstate/)() | Gets the state of the annotation. [Note](../../aspose.pdf/note/), the state stored in other text annotation which has state and statemodel keys. | | [GetStateModel](./getstatemodel/)() | Gets the state model of the annotation. [Note](../../aspose.pdf/note/), the state stored in other text annotation which has state and statemodel keys. | | [MarkupAnnotation](./markupannotation/)(System::SharedPtr\) | Constructor for markup annotation. | @@ -40,7 +40,7 @@ class MarkupAnnotation : public Aspose::Pdf::Annotations::Annotation, | [set_ReplyType](./set_replytype/)(Aspose::Pdf::Annotations::ReplyType) | A string specifying the relationship (the "reply type") between this annotation and one specified by InReplyTo. | | [set_RichText](./set_richtext/)(System::String) | Sets a rich text string to be displayed in the pop-up window when the annotation is opened. | | [set_Subject](./set_subject/)(System::String) | Gets text representing desciption of the object. | -| [set_Title](./set_title/)(System::String) override | Sets a text label that shall be displayed in the title bar of the annotation's popup window when open and active. This entry shall identify the user who added the annotation. | +| [set_Title](./set_title/)(System::String) override | Sets a text label that shall be displayed in the title bar of the annotation�s popup window when open and active. This entry shall identify the user who added the annotation. | | [SetMarkedState](./setmarkedstate/)(bool) | Sets Marked and Unmarked state for the annotation. [Note](../../aspose.pdf/note/), the state stored in other text annotation which has state and statemodel keys. | | [SetReviewState](./setreviewstate/)(AnnotationState, System::String) | Sets the review state for an annotation. Marked and Unmarked states are ignored as they do not belong to the Review StateModel. [Note](../../aspose.pdf/note/), the state stored in other text annotation which has state and statemodel keys. | | [SetReviewState](./setreviewstate/)(AnnotationState) | Sets the review state for an annotation. Marked and Unmarked states are ignored as they do not belong to the Review StateModel. The state is set by the user who created the target annotation. The value is taken from the Title property of the target annotation. [Note](../../aspose.pdf/note/), the state stored in other text annotation which has state and statemodel keys. | diff --git a/english/cpp/aspose.pdf.annotations/markupannotation/get_title/_index.md b/english/cpp/aspose.pdf.annotations/markupannotation/get_title/_index.md index 6ee256237f..aaa0970401 100644 --- a/english/cpp/aspose.pdf.annotations/markupannotation/get_title/_index.md +++ b/english/cpp/aspose.pdf.annotations/markupannotation/get_title/_index.md @@ -2,7 +2,7 @@ title: Aspose::Pdf::Annotations::MarkupAnnotation::get_Title method linktitle: get_Title second_title: Aspose.PDF for C++ API Reference -description: 'Aspose::Pdf::Annotations::MarkupAnnotation::get_Title method. Gets a text label that shall be displayed in the title bar of the annotation''s popup window when open and active. This entry shall identify the user who added the annotation in C++.' +description: 'Aspose::Pdf::Annotations::MarkupAnnotation::get_Title method. Gets a text label that shall be displayed in the title bar of the annotation�s popup window when open and active. This entry shall identify the user who added the annotation in C++.' type: docs weight: 1000 url: /cpp/aspose.pdf.annotations/markupannotation/get_title/ @@ -10,7 +10,7 @@ url: /cpp/aspose.pdf.annotations/markupannotation/get_title/ ## MarkupAnnotation::get_Title method -Gets a text label that shall be displayed in the title bar of the annotation's popup window when open and active. This entry shall identify the user who added the annotation. +Gets a text label that shall be displayed in the title bar of the annotation�s popup window when open and active. This entry shall identify the user who added the annotation. ```cpp System::String Aspose::Pdf::Annotations::MarkupAnnotation::get_Title() override diff --git a/english/cpp/aspose.pdf.annotations/markupannotation/set_title/_index.md b/english/cpp/aspose.pdf.annotations/markupannotation/set_title/_index.md index d7f43c77f3..6d9d934aa3 100644 --- a/english/cpp/aspose.pdf.annotations/markupannotation/set_title/_index.md +++ b/english/cpp/aspose.pdf.annotations/markupannotation/set_title/_index.md @@ -2,7 +2,7 @@ title: Aspose::Pdf::Annotations::MarkupAnnotation::set_Title method linktitle: set_Title second_title: Aspose.PDF for C++ API Reference -description: 'Aspose::Pdf::Annotations::MarkupAnnotation::set_Title method. Sets a text label that shall be displayed in the title bar of the annotation''s popup window when open and active. This entry shall identify the user who added the annotation in C++.' +description: 'Aspose::Pdf::Annotations::MarkupAnnotation::set_Title method. Sets a text label that shall be displayed in the title bar of the annotation�s popup window when open and active. This entry shall identify the user who added the annotation in C++.' type: docs weight: 2000 url: /cpp/aspose.pdf.annotations/markupannotation/set_title/ @@ -10,7 +10,7 @@ url: /cpp/aspose.pdf.annotations/markupannotation/set_title/ ## MarkupAnnotation::set_Title method -Sets a text label that shall be displayed in the title bar of the annotation's popup window when open and active. This entry shall identify the user who added the annotation. +Sets a text label that shall be displayed in the title bar of the annotation�s popup window when open and active. This entry shall identify the user who added the annotation. ```cpp void Aspose::Pdf::Annotations::MarkupAnnotation::set_Title(System::String value) override diff --git a/english/cpp/aspose.pdf.text/textfragmentcollection/_index.md b/english/cpp/aspose.pdf.text/textfragmentcollection/_index.md index 7e46ca39a9..a3dc7f3045 100644 --- a/english/cpp/aspose.pdf.text/textfragmentcollection/_index.md +++ b/english/cpp/aspose.pdf.text/textfragmentcollection/_index.md @@ -30,7 +30,7 @@ class TextFragmentCollection : public System::Collections::Generic::ICollection< | [get_SyncRoot](./get_syncroot/)() const | Gets an object that can be used to synchronize access to the collection. | | [GetEnumerator](./getenumerator/)() override | Returns an enumerator for the entire collection. | | [idx_get](./idx_get/)(int32_t) | Gets the text fragment element at the specified index. | -| [Remove](./remove/)(const System::SharedPtr\\&) override | Deletes specified item from collection. | +| [Remove](./remove/)(const System::SharedPtr\\&) override | Deletes specified item from the collection and also removes it from the document. | ## See Also * Class [ICollection](../../system.collections.generic/icollection/) diff --git a/english/cpp/aspose.pdf.text/textfragmentcollection/remove/_index.md b/english/cpp/aspose.pdf.text/textfragmentcollection/remove/_index.md index 5d41f9333e..599fe9b3b3 100644 --- a/english/cpp/aspose.pdf.text/textfragmentcollection/remove/_index.md +++ b/english/cpp/aspose.pdf.text/textfragmentcollection/remove/_index.md @@ -2,7 +2,7 @@ title: Aspose::Pdf::Text::TextFragmentCollection::Remove method linktitle: Remove second_title: Aspose.PDF for C++ API Reference -description: 'Aspose::Pdf::Text::TextFragmentCollection::Remove method. Deletes specified item from collection in C++.' +description: 'Aspose::Pdf::Text::TextFragmentCollection::Remove method. Deletes specified item from the collection and also removes it from the document in C++.' type: docs weight: 1100 url: /cpp/aspose.pdf.text/textfragmentcollection/remove/ @@ -10,7 +10,7 @@ url: /cpp/aspose.pdf.text/textfragmentcollection/remove/ ## TextFragmentCollection::Remove method -Deletes specified item from collection. +Deletes specified item from the collection and also removes it from the document. ```cpp bool Aspose::Pdf::Text::TextFragmentCollection::Remove(const System::SharedPtr &item) override diff --git a/english/cpp/system.collections.generic/ienumerable/_index.md b/english/cpp/system.collections.generic/ienumerable/_index.md index 6eb2dd1767..ac58502bf4 100644 --- a/english/cpp/system.collections.generic/ienumerable/_index.md +++ b/english/cpp/system.collections.generic/ienumerable/_index.md @@ -48,7 +48,9 @@ templateclass IEnumerable : public virtual System::Object | [LINQ_FirstOrDefault](./linq_firstordefault/)() | Returns the first element of a sequence, or a default value if the sequence is empty. | | [LINQ_FirstOrDefault](./linq_firstordefault/)(std::function\) | Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. | | [LINQ_GroupBy](./linq_groupby/)(System::Func\) | Groups the elements of a sequence. | +| [LINQ_GroupBy](./linq_groupby/)(System::Func\, System::Func\) | Groups the elements of a sequence. | | [LINQ_GroupBy](./linq_groupby/)(System::Func\) | | +| [LINQ_GroupBy](./linq_groupby/)(System::Func\, System::Func\) | | | [LINQ_Last](./linq_last/)() | Returns the last element of a sequence. | | [LINQ_LastOrDefault](./linq_lastordefault/)() | Returns the last element of a sequence, or a default value if the sequence is empty. | | [LINQ_Max](./linq_max/)(const Func\\&) | Invokes a transform function on each element of a generic sequence and returns the maximum resulting value. | diff --git a/english/cpp/system.collections.generic/ienumerable/linq_groupby/_index.md b/english/cpp/system.collections.generic/ienumerable/linq_groupby/_index.md index d9450af7d8..049ed8929c 100644 --- a/english/cpp/system.collections.generic/ienumerable/linq_groupby/_index.md +++ b/english/cpp/system.collections.generic/ienumerable/linq_groupby/_index.md @@ -18,6 +18,24 @@ template SharedPtr, System::Func\) method + + + + +```cpp +template SharedPtr>>> System::Collections::Generic::IEnumerable::LINQ_GroupBy(System::Func keyPredicate, System::Func elementSelector) +``` + +## See Also + * Typedef [SharedPtr](../../../system/sharedptr/) * Class [IEnumerable](../) * Class [IGrouping](../../../system.linq/igrouping/) @@ -56,3 +74,36 @@ An [IEnumerable](../) that contains a sequence of objects and a key * Class [IEnumerable](../) * Namespace [System::Collections::Generic](../../) * Library [Aspose.PDF for C++](../../../) +## IEnumerable::LINQ_GroupBy(System::Func\, System::Func\) method + + +Groups the elements of a sequence. + +```cpp +template System::SharedPtr>>> System::Collections::Generic::IEnumerable::LINQ_GroupBy(System::Func keyPredicate, System::Func elementSelector) +``` + + +| Parameter | Description | +| --- | --- | +| Key | The type of the key returned by keyPredicate | +| Element | The type of the element returned by elementSelector | + +| Parameter | Type | Description | +| --- | --- | --- | +| keyPredicate | System::Func\ | A function to extract the key for each element. | +| elementSelector | System::Func\ | A function to extract value key for each element. | + +### ReturnValue + +An [IEnumerable](../) that contains a sequence of objects and a key + +## See Also + +* Typedef [SharedPtr](../../../system/sharedptr/) +* Class [IEnumerable](../) +* Class [IGrouping](../../../system.linq/igrouping/) +* Class [Func](../../../system/func/) +* Class [IEnumerable](../) +* Namespace [System::Collections::Generic](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.runtime.compilerservices/_index.md b/english/cpp/system.runtime.compilerservices/_index.md index bd47540fd2..65fbc8ee25 100644 --- a/english/cpp/system.runtime.compilerservices/_index.md +++ b/english/cpp/system.runtime.compilerservices/_index.md @@ -24,4 +24,4 @@ url: /cpp/system.runtime.compilerservices/ | [RuntimeHelpers](./runtimehelpers/) | Helper class to get some object information in runtime. | | [TaskAwaiter](./taskawaiter/) | | | [ValueTaskAwaiter](./valuetaskawaiter/) | | -| [YieldAwaitable](./yieldawaitable/) | | +| [YieldAwaitable](./yieldawaitable/) | An awaitable type that is returned from TaskUtils::Yield(). | diff --git a/english/cpp/system.runtime.compilerservices/yieldawaitable/_index.md b/english/cpp/system.runtime.compilerservices/yieldawaitable/_index.md index 30df54eb96..b4addf22e7 100644 --- a/english/cpp/system.runtime.compilerservices/yieldawaitable/_index.md +++ b/english/cpp/system.runtime.compilerservices/yieldawaitable/_index.md @@ -2,7 +2,7 @@ title: System::Runtime::CompilerServices::YieldAwaitable class linktitle: YieldAwaitable second_title: Aspose.PDF for C++ API Reference -description: 'How to use System::Runtime::CompilerServices::YieldAwaitable class in C++.' +description: 'System::Runtime::CompilerServices::YieldAwaitable class. An awaitable type that is returned from TaskUtils::Yield() in C++.' type: docs weight: 1100 url: /cpp/system.runtime.compilerservices/yieldawaitable/ @@ -10,7 +10,7 @@ url: /cpp/system.runtime.compilerservices/yieldawaitable/ ## YieldAwaitable class - +An awaitable type that is returned from TaskUtils::Yield(). ```cpp class YieldAwaitable @@ -23,7 +23,11 @@ class YieldAwaitable | Method | Description | | --- | --- | -| [GetAwaiter](./getawaiter/)() const | | +| [GetAwaiter](./getawaiter/)() const | Gets the awaiter for this awaitable. | +## Remarks + + +This type enables yielding control back to the calling context in asynchronous methods. ## See Also * Namespace [System::Runtime::CompilerServices](../) diff --git a/english/cpp/system.runtime.compilerservices/yieldawaitable/getawaiter/_index.md b/english/cpp/system.runtime.compilerservices/yieldawaitable/getawaiter/_index.md index eccd45da12..69c7e3228c 100644 --- a/english/cpp/system.runtime.compilerservices/yieldawaitable/getawaiter/_index.md +++ b/english/cpp/system.runtime.compilerservices/yieldawaitable/getawaiter/_index.md @@ -2,7 +2,7 @@ title: System::Runtime::CompilerServices::YieldAwaitable::GetAwaiter method linktitle: GetAwaiter second_title: Aspose.PDF for C++ API Reference -description: 'How to use GetAwaiter method of System::Runtime::CompilerServices::YieldAwaitable class in C++.' +description: 'System::Runtime::CompilerServices::YieldAwaitable::GetAwaiter method. Gets the awaiter for this awaitable in C++.' type: docs weight: 100 url: /cpp/system.runtime.compilerservices/yieldawaitable/getawaiter/ @@ -10,12 +10,17 @@ url: /cpp/system.runtime.compilerservices/yieldawaitable/getawaiter/ ## YieldAwaitable::GetAwaiter method - +Gets the awaiter for this awaitable. ```cpp YieldAwaiter System::Runtime::CompilerServices::YieldAwaitable::GetAwaiter() const ``` + +### ReturnValue + +A [YieldAwaiter](../yieldawaiter/) instance. + ## See Also * Class [YieldAwaiter](../yieldawaiter/) diff --git a/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/_index.md b/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/_index.md index c7df161eee..a57c057369 100644 --- a/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/_index.md +++ b/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/_index.md @@ -2,7 +2,7 @@ title: System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter class linktitle: YieldAwaiter second_title: Aspose.PDF for C++ API Reference -description: 'How to use System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter class in C++.' +description: 'System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter class. The awaiter type for YieldAwaitable in C++.' type: docs weight: 200 url: /cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/ @@ -10,7 +10,7 @@ url: /cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/ ## YieldAwaiter class - +The awaiter type for [YieldAwaitable](../). ```cpp class YieldAwaiter @@ -20,14 +20,14 @@ class YieldAwaiter | Method | Description | | --- | --- | -| [get_IsCompleted](./get_iscompleted/)() const | | -| [GetResult](./getresult/)() const | | -| [OnCompleted](./oncompleted/)(const Action<>\&) | | +| [get_IsCompleted](./get_iscompleted/)() const | Gets whether the yield operation has completed. | +| [GetResult](./getresult/)() const | Ends the await operation. | +| [OnCompleted](./oncompleted/)(const Action<>\&) | Schedules the continuation action for when the yield operation completes. | ## Fields | Field | Description | | --- | --- | -| static constexpr [continueOnCapturedContext](./continueoncapturedcontext/) | | +| static constexpr [continueOnCapturedContext](./continueoncapturedcontext/) | Specifies whether to continue on the captured synchronization context. | ## See Also * Class [YieldAwaitable](../) diff --git a/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/continueoncapturedcontext/_index.md b/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/continueoncapturedcontext/_index.md index 4af1bc3cd3..4d4cc7ddb9 100644 --- a/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/continueoncapturedcontext/_index.md +++ b/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/continueoncapturedcontext/_index.md @@ -2,7 +2,7 @@ title: System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter::continueOnCapturedContext field linktitle: continueOnCapturedContext second_title: Aspose.PDF for C++ API Reference -description: 'How to use continueOnCapturedContext field of System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter class in C++.' +description: 'System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter::continueOnCapturedContext field. Specifies whether to continue on the captured synchronization context in C++.' type: docs weight: 400 url: /cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/continueoncapturedcontext/ @@ -10,7 +10,7 @@ url: /cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/continueon ## continueOnCapturedContext field - +Specifies whether to continue on the captured synchronization context. ```cpp static bool System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter::continueOnCapturedContext diff --git a/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/get_iscompleted/_index.md b/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/get_iscompleted/_index.md index c14b4d128d..5299e677a7 100644 --- a/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/get_iscompleted/_index.md +++ b/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/get_iscompleted/_index.md @@ -2,7 +2,7 @@ title: System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter::get_IsCompleted method linktitle: get_IsCompleted second_title: Aspose.PDF for C++ API Reference -description: 'How to use get_IsCompleted method of System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter class in C++.' +description: 'System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter::get_IsCompleted method. Gets whether the yield operation has completed in C++.' type: docs weight: 100 url: /cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/get_iscompleted/ @@ -10,12 +10,17 @@ url: /cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/get_iscomp ## YieldAwaiter::get_IsCompleted method - +Gets whether the yield operation has completed. ```cpp bool System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter::get_IsCompleted() const ``` + +### ReturnValue + +Always returns false, indicating the operation is not yet complete. + ## See Also * Class [YieldAwaiter](../) diff --git a/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/getresult/_index.md b/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/getresult/_index.md index 1769fedad1..7146053b9d 100644 --- a/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/getresult/_index.md +++ b/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/getresult/_index.md @@ -2,7 +2,7 @@ title: System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter::GetResult method linktitle: GetResult second_title: Aspose.PDF for C++ API Reference -description: 'How to use GetResult method of System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter class in C++.' +description: 'System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter::GetResult method. Ends the await operation in C++.' type: docs weight: 200 url: /cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/getresult/ @@ -10,7 +10,7 @@ url: /cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/getresult/ ## YieldAwaiter::GetResult method - +Ends the await operation. ```cpp void System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter::GetResult() const diff --git a/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/oncompleted/_index.md b/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/oncompleted/_index.md index e83eaf4c57..0554fa3452 100644 --- a/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/oncompleted/_index.md +++ b/english/cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/oncompleted/_index.md @@ -2,7 +2,7 @@ title: System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter::OnCompleted method linktitle: OnCompleted second_title: Aspose.PDF for C++ API Reference -description: 'How to use OnCompleted method of System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter class in C++.' +description: 'System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter::OnCompleted method. Schedules the continuation action for when the yield operation completes in C++.' type: docs weight: 300 url: /cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/oncompleted/ @@ -10,12 +10,17 @@ url: /cpp/system.runtime.compilerservices/yieldawaitable/yieldawaiter/oncomplete ## YieldAwaiter::OnCompleted method - +Schedules the continuation action for when the yield operation completes. ```cpp void System::Runtime::CompilerServices::YieldAwaitable::YieldAwaiter::OnCompleted(const Action<> &continuation) ``` + +| Parameter | Type | Description | +| --- | --- | --- | +| continuation | const Action<>\& | The action to invoke when the yield completes. | + ## See Also * Typedef [Action](../../../../system/action/) diff --git a/english/cpp/system.threading.tasks/_index.md b/english/cpp/system.threading.tasks/_index.md index 32938c9489..9598bb66dd 100644 --- a/english/cpp/system.threading.tasks/_index.md +++ b/english/cpp/system.threading.tasks/_index.md @@ -14,6 +14,9 @@ url: /cpp/system.threading.tasks/ | Class | Description | | --- | --- | +| [Parallel](./parallel/) | Provides support for parallel loops and regions. | +| [ParallelLoopResult](./parallelloopresult/) | Provides completion status of a [Parallel](./parallel/) loop. | +| [ParallelOptions](./paralleloptions/) | Stores options that configure the operation of methods on the [Parallel](./parallel/) class. | | [ResultTask](./resulttask/) | A [Task](./task/) specialization that returns a result value upon completion. | | [ResultValueTask](./resultvaluetask/) | Represents a hybrid task-like type that can wrap either a direct result value or a [ResultTask](./resulttask/). | | [Task](./task/) | Represents an asynchronous operation that can be awaited and composed with other tasks. | @@ -30,7 +33,7 @@ url: /cpp/system.threading.tasks/ | --- | --- | | Delay | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | | Delay | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | -| DispatchCurrentContext | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | +| FromCanceled | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | | FromException | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | | FromException | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | | FromResult | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | @@ -38,8 +41,16 @@ url: /cpp/system.threading.tasks/ | Run | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | | Run | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | | Run | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | +| WaitAll | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | +| WaitAll | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | +| WaitAny | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | +| WaitAny | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | | WhenAll | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | | WhenAll | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | | WhenAll | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | | WhenAll | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | +| WhenAny | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | +| WhenAny | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | +| WhenAny | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | +| WhenAny | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | | Yield | System.Collections.Generic.List`1[Doxygen2HugoConverter.Markup.SimpleMarkupEntry] | diff --git a/english/cpp/system.threading.tasks/delay/_index.md b/english/cpp/system.threading.tasks/delay/_index.md index eb5ec9f4f6..ca2118803f 100644 --- a/english/cpp/system.threading.tasks/delay/_index.md +++ b/english/cpp/system.threading.tasks/delay/_index.md @@ -4,7 +4,7 @@ linktitle: Delay second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Delay method. Creates a task that completes after a time delay in C++.' type: docs -weight: 700 +weight: 1000 url: /cpp/system.threading.tasks/delay/ --- ## System::Threading::Tasks::Delay(int32_t) method @@ -33,12 +33,22 @@ A task that represents the time delay. ## System::Threading::Tasks::Delay(int32_t, const CancellationToken\&) method - +Creates a task that completes after a time delay and can be cancelled. ```cpp TaskPtr System::Threading::Tasks::Delay(int32_t millisecondsDelay, const CancellationToken &cancellationToken) ``` + +| Parameter | Type | Description | +| --- | --- | --- | +| millisecondsDelay | int32_t | The number of milliseconds to wait before completing the returned task, or -1 to wait indefinitely. | +| cancellationToken | const CancellationToken\& | The cancellation token that can be used to cancel the delay. | + +### ReturnValue + +A task that represents the time delay. + ## See Also * Typedef [TaskPtr](../../system/taskptr/) diff --git a/english/cpp/system.threading.tasks/dispatchcurrentcontext/_index.md b/english/cpp/system.threading.tasks/dispatchcurrentcontext/_index.md deleted file mode 100644 index 7a6538ac8d..0000000000 --- a/english/cpp/system.threading.tasks/dispatchcurrentcontext/_index.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: System::Threading::Tasks::DispatchCurrentContext method -linktitle: DispatchCurrentContext -second_title: Aspose.PDF for C++ API Reference -description: 'System::Threading::Tasks::DispatchCurrentContext method. Dispatches all tasks bound to this thread synchronously in C++.' -type: docs -weight: 900 -url: /cpp/system.threading.tasks/dispatchcurrentcontext/ ---- -## System::Threading::Tasks::DispatchCurrentContext method - - -Dispatches all tasks bound to this thread synchronously. - -```cpp -void System::Threading::Tasks::DispatchCurrentContext() -``` - -## See Also - -* Namespace [System::Threading::Tasks](../) -* Library [Aspose.PDF for C++](../../) diff --git a/english/cpp/system.threading.tasks/fromcanceled/_index.md b/english/cpp/system.threading.tasks/fromcanceled/_index.md new file mode 100644 index 0000000000..474c07b887 --- /dev/null +++ b/english/cpp/system.threading.tasks/fromcanceled/_index.md @@ -0,0 +1,33 @@ +--- +title: System::Threading::Tasks::FromCanceled method +linktitle: FromCanceled +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::FromCanceled method. Creates a task that has completed due to cancellation with the specified token in C++.' +type: docs +weight: 1200 +url: /cpp/system.threading.tasks/fromcanceled/ +--- +## System::Threading::Tasks::FromCanceled method + + +Creates a task that has completed due to cancellation with the specified token. + +```cpp +TaskPtr System::Threading::Tasks::FromCanceled(const CancellationToken &cancellationToken) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| cancellationToken | const CancellationToken\& | The cancellation token that caused the task to be cancelled. | + +### ReturnValue + +A cancelled task. + +## See Also + +* Typedef [TaskPtr](../../system/taskptr/) +* Class [CancellationToken](../../system.threading/cancellationtoken/) +* Namespace [System::Threading::Tasks](../) +* Library [Aspose.PDF for C++](../../) diff --git a/english/cpp/system.threading.tasks/fromexception/_index.md b/english/cpp/system.threading.tasks/fromexception/_index.md index ffefad1284..9b9a05503d 100644 --- a/english/cpp/system.threading.tasks/fromexception/_index.md +++ b/english/cpp/system.threading.tasks/fromexception/_index.md @@ -2,20 +2,29 @@ title: System::Threading::Tasks::FromException method linktitle: FromException second_title: Aspose.PDF for C++ API Reference -description: 'How to use FromException method of class in C++.' +description: 'System::Threading::Tasks::FromException method. Creates a task that has completed with a specified exception in C++.' type: docs -weight: 1000 +weight: 1300 url: /cpp/system.threading.tasks/fromexception/ --- ## System::Threading::Tasks::FromException(const Exception\&) method - +Creates a task that has completed with a specified exception. ```cpp TaskPtr System::Threading::Tasks::FromException(const Exception &exception) ``` + +| Parameter | Type | Description | +| --- | --- | --- | +| exception | const Exception\& | The exception with which to complete the task. | + +### ReturnValue + +A faulted task. + ## See Also * Typedef [TaskPtr](../../system/taskptr/) @@ -25,12 +34,25 @@ TaskPtr System::Threading::Tasks::FromException(const Exception &exception) ## System::Threading::Tasks::FromException(const Exception\&) method - +Creates a task that has completed with a specified exception and result type. ```cpp template RTaskPtr System::Threading::Tasks::FromException(const Exception &exception) ``` + +| Parameter | Description | +| --- | --- | +| TResult | The type of the task's result. | + +| Parameter | Type | Description | +| --- | --- | --- | +| exception | const Exception\& | The exception with which to complete the task. | + +### ReturnValue + +A faulted task with the specified result type. + ## See Also * Typedef [RTaskPtr](../../system/rtaskptr/) diff --git a/english/cpp/system.threading.tasks/fromresult/_index.md b/english/cpp/system.threading.tasks/fromresult/_index.md index 74efe90529..1acb0512b8 100644 --- a/english/cpp/system.threading.tasks/fromresult/_index.md +++ b/english/cpp/system.threading.tasks/fromresult/_index.md @@ -2,20 +2,33 @@ title: System::Threading::Tasks::FromResult method linktitle: FromResult second_title: Aspose.PDF for C++ API Reference -description: 'How to use FromResult method of class in C++.' +description: 'System::Threading::Tasks::FromResult method. Creates a task that has successfully completed with the specified result in C++.' type: docs -weight: 1200 +weight: 1500 url: /cpp/system.threading.tasks/fromresult/ --- ## System::Threading::Tasks::FromResult method - +Creates a task that has successfully completed with the specified result. ```cpp template RTaskPtr System::Threading::Tasks::FromResult(TResult result) ``` + +| Parameter | Description | +| --- | --- | +| TResult | The type of the task's result. | + +| Parameter | Type | Description | +| --- | --- | --- | +| result | TResult | The result value with which to complete the task. | + +### ReturnValue + +A successfully completed task. + ## See Also * Typedef [RTaskPtr](../../system/rtaskptr/) diff --git a/english/cpp/system.threading.tasks/parallel/_index.md b/english/cpp/system.threading.tasks/parallel/_index.md new file mode 100644 index 0000000000..a38019c606 --- /dev/null +++ b/english/cpp/system.threading.tasks/parallel/_index.md @@ -0,0 +1,32 @@ +--- +title: System::Threading::Tasks::Parallel class +linktitle: Parallel +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::Parallel class. Provides support for parallel loops and regions in C++.' +type: docs +weight: 100 +url: /cpp/system.threading.tasks/parallel/ +--- +## Parallel class + + +Provides support for parallel loops and regions. + +```cpp +class Parallel +``` + +## Methods + +| Method | Description | +| --- | --- | +| static [ForEach](./foreach/)(const SharedPtr\\>\&, const SharedPtr\\&, const Action\\&) | Executes a foreach operation on an IEnumerable in which iterations may run in parallel. | +| static [ForEach](./foreach/)(const SharedPtr\\>\&, const Action\\&) | Executes a foreach operation on an IEnumerable in which iterations may run in parallel. | +## Remarks + + +This class provides methods for parallel execution of loops and operations. +## See Also + +* Namespace [System::Threading::Tasks](../) +* Library [Aspose.PDF for C++](../../) diff --git a/english/cpp/system.threading.tasks/parallel/foreach/_index.md b/english/cpp/system.threading.tasks/parallel/foreach/_index.md new file mode 100644 index 0000000000..3bb8c26004 --- /dev/null +++ b/english/cpp/system.threading.tasks/parallel/foreach/_index.md @@ -0,0 +1,83 @@ +--- +title: System::Threading::Tasks::Parallel::ForEach method +linktitle: ForEach +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::Parallel::ForEach method. Executes a foreach operation on an IEnumerable in which iterations may run in parallel in C++.' +type: docs +weight: 100 +url: /cpp/system.threading.tasks/parallel/foreach/ +--- +## Parallel::ForEach(const SharedPtr\\>\&, const Action\\&) method + + +Executes a foreach operation on an IEnumerable in which iterations may run in parallel. + +```cpp +template static ParallelLoopResult System::Threading::Tasks::Parallel::ForEach(const SharedPtr> &source, const Action &body) +``` + + +| Parameter | Description | +| --- | --- | +| TSource | The type of the data in the source. | + +| Parameter | Type | Description | +| --- | --- | --- | +| source | const SharedPtr\\>\& | An enumerable data source. | +| body | const Action\\& | The delegate that is invoked once per iteration. | + +### ReturnValue + +A [ParallelLoopResult](../../parallelloopresult/) structure that contains information on what portion of the loop completed. +## Remarks + + + +Uses default [ParallelOptions](../../paralleloptions/) with unlimited parallelism and no cancellation. +## See Also + +* Class [ParallelLoopResult](../../parallelloopresult/) +* Typedef [SharedPtr](../../../system/sharedptr/) +* Class [IEnumerable](../../../system.collections.generic/ienumerable/) +* Typedef [Action](../../../system/action/) +* Class [Parallel](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) +## Parallel::ForEach(const SharedPtr\\>\&, const SharedPtr\\&, const Action\\&) method + + +Executes a foreach operation on an IEnumerable in which iterations may run in parallel. + +```cpp +template static ParallelLoopResult System::Threading::Tasks::Parallel::ForEach(const SharedPtr> &source, const SharedPtr ¶llelOptions, const Action &body) +``` + + +| Parameter | Description | +| --- | --- | +| TSource | The type of the data in the source. | + +| Parameter | Type | Description | +| --- | --- | --- | +| source | const SharedPtr\\>\& | An enumerable data source. | +| parallelOptions | const SharedPtr\\& | An object that configures the behavior of this operation. | +| body | const Action\\& | The delegate that is invoked once per iteration. | + +### ReturnValue + +A [ParallelLoopResult](../../parallelloopresult/) structure that contains information on what portion of the loop completed. +## Remarks + + + +This method partitions the source enumerable and executes the body delegate on multiple threads concurrently. +## See Also + +* Class [ParallelLoopResult](../../parallelloopresult/) +* Typedef [SharedPtr](../../../system/sharedptr/) +* Class [IEnumerable](../../../system.collections.generic/ienumerable/) +* Class [ParallelOptions](../../paralleloptions/) +* Typedef [Action](../../../system/action/) +* Class [Parallel](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/parallelloopresult/_index.md b/english/cpp/system.threading.tasks/parallelloopresult/_index.md new file mode 100644 index 0000000000..d3eb99a061 --- /dev/null +++ b/english/cpp/system.threading.tasks/parallelloopresult/_index.md @@ -0,0 +1,35 @@ +--- +title: System::Threading::Tasks::ParallelLoopResult class +linktitle: ParallelLoopResult +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::ParallelLoopResult class. Provides completion status of a Parallel loop in C++.' +type: docs +weight: 200 +url: /cpp/system.threading.tasks/parallelloopresult/ +--- +## ParallelLoopResult class + + +Provides completion status of a [Parallel](../parallel/) loop. + +```cpp +class ParallelLoopResult : public System::Object, + public System::Details::BoxableObjectBase +``` + +## Methods + +| Method | Description | +| --- | --- | +| [get_IsCompleted](./get_iscompleted/)() | Gets whether the loop ran to completion. | +| [get_LowestBreakIteration](./get_lowestbreakiteration/)() | Gets the lowest iteration index at which a break occurred. | +| [ParallelLoopResult](./parallelloopresult/)() | Constructs a [ParallelLoopResult](./). | +## Remarks + + +Represents the result of a parallel loop operation, including whether it completed and information about breaks. +## See Also + +* Class [Object](../../system/object/) +* Namespace [System::Threading::Tasks](../) +* Library [Aspose.PDF for C++](../../) diff --git a/english/cpp/system.threading.tasks/parallelloopresult/get_iscompleted/_index.md b/english/cpp/system.threading.tasks/parallelloopresult/get_iscompleted/_index.md new file mode 100644 index 0000000000..a54fe84ec6 --- /dev/null +++ b/english/cpp/system.threading.tasks/parallelloopresult/get_iscompleted/_index.md @@ -0,0 +1,28 @@ +--- +title: System::Threading::Tasks::ParallelLoopResult::get_IsCompleted method +linktitle: get_IsCompleted +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::ParallelLoopResult::get_IsCompleted method. Gets whether the loop ran to completion in C++.' +type: docs +weight: 200 +url: /cpp/system.threading.tasks/parallelloopresult/get_iscompleted/ +--- +## ParallelLoopResult::get_IsCompleted method + + +Gets whether the loop ran to completion. + +```cpp +bool System::Threading::Tasks::ParallelLoopResult::get_IsCompleted() +``` + + +### ReturnValue + +true if the loop completed all iterations; otherwise, false. + +## See Also + +* Class [ParallelLoopResult](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/parallelloopresult/get_lowestbreakiteration/_index.md b/english/cpp/system.threading.tasks/parallelloopresult/get_lowestbreakiteration/_index.md new file mode 100644 index 0000000000..22703b37b7 --- /dev/null +++ b/english/cpp/system.threading.tasks/parallelloopresult/get_lowestbreakiteration/_index.md @@ -0,0 +1,29 @@ +--- +title: System::Threading::Tasks::ParallelLoopResult::get_LowestBreakIteration method +linktitle: get_LowestBreakIteration +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::ParallelLoopResult::get_LowestBreakIteration method. Gets the lowest iteration index at which a break occurred in C++.' +type: docs +weight: 300 +url: /cpp/system.threading.tasks/parallelloopresult/get_lowestbreakiteration/ +--- +## ParallelLoopResult::get_LowestBreakIteration method + + +Gets the lowest iteration index at which a break occurred. + +```cpp +Nullable System::Threading::Tasks::ParallelLoopResult::get_LowestBreakIteration() +``` + + +### ReturnValue + +The lowest iteration index where Break was called, or null if no break occurred. + +## See Also + +* Class [Nullable](../../../system/nullable/) +* Class [ParallelLoopResult](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/parallelloopresult/parallelloopresult/_index.md b/english/cpp/system.threading.tasks/parallelloopresult/parallelloopresult/_index.md new file mode 100644 index 0000000000..26371a57e0 --- /dev/null +++ b/english/cpp/system.threading.tasks/parallelloopresult/parallelloopresult/_index.md @@ -0,0 +1,23 @@ +--- +title: System::Threading::Tasks::ParallelLoopResult::ParallelLoopResult constructor +linktitle: ParallelLoopResult +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::ParallelLoopResult::ParallelLoopResult constructor. Constructs a ParallelLoopResult in C++.' +type: docs +weight: 100 +url: /cpp/system.threading.tasks/parallelloopresult/parallelloopresult/ +--- +## ParallelLoopResult::ParallelLoopResult constructor + + +Constructs a [ParallelLoopResult](../). + +```cpp +System::Threading::Tasks::ParallelLoopResult::ParallelLoopResult() +``` + +## See Also + +* Class [ParallelLoopResult](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/paralleloptions/_index.md b/english/cpp/system.threading.tasks/paralleloptions/_index.md new file mode 100644 index 0000000000..7cb9c5c8f9 --- /dev/null +++ b/english/cpp/system.threading.tasks/paralleloptions/_index.md @@ -0,0 +1,34 @@ +--- +title: System::Threading::Tasks::ParallelOptions class +linktitle: ParallelOptions +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::ParallelOptions class. Stores options that configure the operation of methods on the Parallel class in C++.' +type: docs +weight: 300 +url: /cpp/system.threading.tasks/paralleloptions/ +--- +## ParallelOptions class + + +Stores options that configure the operation of methods on the [Parallel](../parallel/) class. + +```cpp +class ParallelOptions : public System::Object +``` + +## Methods + +| Method | Description | +| --- | --- | +| [get_CancellationToken](./get_cancellationtoken/)() | Gets the [CancellationToken](../../system.threading/cancellationtoken/) associated with this [ParallelOptions](./) instance. | +| [get_MaxDegreeOfParallelism](./get_maxdegreeofparallelism/)() | Gets the maximum degree of parallelism enabled by this [ParallelOptions](./) instance. | +| [get_TaskScheduler](./get_taskscheduler/)() | Gets the [TaskScheduler](../taskscheduler/) associated with this [ParallelOptions](./) instance. | +| [ParallelOptions](./paralleloptions/)() | Constructs a [ParallelOptions](./) instance with default values. | +| [set_CancellationToken](./set_cancellationtoken/)(const CancellationToken\&) | Sets the [CancellationToken](../../system.threading/cancellationtoken/) associated with this [ParallelOptions](./) instance. | +| [set_MaxDegreeOfParallelism](./set_maxdegreeofparallelism/)(int32_t) | Sets the maximum degree of parallelism enabled by this [ParallelOptions](./) instance. | +| [set_TaskScheduler](./set_taskscheduler/)(const SharedPtr\\&) | Sets the [TaskScheduler](../taskscheduler/) associated with this [ParallelOptions](./) instance. | +## See Also + +* Class [Object](../../system/object/) +* Namespace [System::Threading::Tasks](../) +* Library [Aspose.PDF for C++](../../) diff --git a/english/cpp/system.threading.tasks/paralleloptions/get_cancellationtoken/_index.md b/english/cpp/system.threading.tasks/paralleloptions/get_cancellationtoken/_index.md new file mode 100644 index 0000000000..e9bafb278b --- /dev/null +++ b/english/cpp/system.threading.tasks/paralleloptions/get_cancellationtoken/_index.md @@ -0,0 +1,29 @@ +--- +title: System::Threading::Tasks::ParallelOptions::get_CancellationToken method +linktitle: get_CancellationToken +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::ParallelOptions::get_CancellationToken method. Gets the CancellationToken associated with this ParallelOptions instance in C++.' +type: docs +weight: 200 +url: /cpp/system.threading.tasks/paralleloptions/get_cancellationtoken/ +--- +## ParallelOptions::get_CancellationToken method + + +Gets the [CancellationToken](../../../system.threading/cancellationtoken/) associated with this [ParallelOptions](../) instance. + +```cpp +const CancellationToken & System::Threading::Tasks::ParallelOptions::get_CancellationToken() +``` + + +### ReturnValue + +The [CancellationToken](../../../system.threading/cancellationtoken/) that can be used to cancel parallel operations. + +## See Also + +* Class [CancellationToken](../../../system.threading/cancellationtoken/) +* Class [ParallelOptions](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/paralleloptions/get_maxdegreeofparallelism/_index.md b/english/cpp/system.threading.tasks/paralleloptions/get_maxdegreeofparallelism/_index.md new file mode 100644 index 0000000000..bd4365f554 --- /dev/null +++ b/english/cpp/system.threading.tasks/paralleloptions/get_maxdegreeofparallelism/_index.md @@ -0,0 +1,28 @@ +--- +title: System::Threading::Tasks::ParallelOptions::get_MaxDegreeOfParallelism method +linktitle: get_MaxDegreeOfParallelism +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::ParallelOptions::get_MaxDegreeOfParallelism method. Gets the maximum degree of parallelism enabled by this ParallelOptions instance in C++.' +type: docs +weight: 300 +url: /cpp/system.threading.tasks/paralleloptions/get_maxdegreeofparallelism/ +--- +## ParallelOptions::get_MaxDegreeOfParallelism method + + +Gets the maximum degree of parallelism enabled by this [ParallelOptions](../) instance. + +```cpp +int32_t System::Threading::Tasks::ParallelOptions::get_MaxDegreeOfParallelism() +``` + + +### ReturnValue + +The maximum number of concurrent tasks. + +## See Also + +* Class [ParallelOptions](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/paralleloptions/get_taskscheduler/_index.md b/english/cpp/system.threading.tasks/paralleloptions/get_taskscheduler/_index.md new file mode 100644 index 0000000000..fe40446991 --- /dev/null +++ b/english/cpp/system.threading.tasks/paralleloptions/get_taskscheduler/_index.md @@ -0,0 +1,30 @@ +--- +title: System::Threading::Tasks::ParallelOptions::get_TaskScheduler method +linktitle: get_TaskScheduler +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::ParallelOptions::get_TaskScheduler method. Gets the TaskScheduler associated with this ParallelOptions instance in C++.' +type: docs +weight: 400 +url: /cpp/system.threading.tasks/paralleloptions/get_taskscheduler/ +--- +## ParallelOptions::get_TaskScheduler method + + +Gets the [TaskScheduler](../../taskscheduler/) associated with this [ParallelOptions](../) instance. + +```cpp +const SharedPtr & System::Threading::Tasks::ParallelOptions::get_TaskScheduler() +``` + + +### ReturnValue + +The [TaskScheduler](../../taskscheduler/) used for scheduling tasks. + +## See Also + +* Typedef [SharedPtr](../../../system/sharedptr/) +* Class [TaskScheduler](../../taskscheduler/) +* Class [ParallelOptions](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/paralleloptions/paralleloptions/_index.md b/english/cpp/system.threading.tasks/paralleloptions/paralleloptions/_index.md new file mode 100644 index 0000000000..a1ed78976f --- /dev/null +++ b/english/cpp/system.threading.tasks/paralleloptions/paralleloptions/_index.md @@ -0,0 +1,27 @@ +--- +title: System::Threading::Tasks::ParallelOptions::ParallelOptions constructor +linktitle: ParallelOptions +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::ParallelOptions::ParallelOptions constructor. Constructs a ParallelOptions instance with default values in C++.' +type: docs +weight: 100 +url: /cpp/system.threading.tasks/paralleloptions/paralleloptions/ +--- +## ParallelOptions::ParallelOptions constructor + + +Constructs a [ParallelOptions](../) instance with default values. + +```cpp +System::Threading::Tasks::ParallelOptions::ParallelOptions() +``` + +## Remarks + + +Default values: [TaskScheduler](../../taskscheduler/) = Default, MaxDegreeOfParallelism = -1 (unlimited), [CancellationToken](../../../system.threading/cancellationtoken/) = get_None(). +## See Also + +* Class [ParallelOptions](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/paralleloptions/set_cancellationtoken/_index.md b/english/cpp/system.threading.tasks/paralleloptions/set_cancellationtoken/_index.md new file mode 100644 index 0000000000..8bfa937a09 --- /dev/null +++ b/english/cpp/system.threading.tasks/paralleloptions/set_cancellationtoken/_index.md @@ -0,0 +1,29 @@ +--- +title: System::Threading::Tasks::ParallelOptions::set_CancellationToken method +linktitle: set_CancellationToken +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::ParallelOptions::set_CancellationToken method. Sets the CancellationToken associated with this ParallelOptions instance in C++.' +type: docs +weight: 500 +url: /cpp/system.threading.tasks/paralleloptions/set_cancellationtoken/ +--- +## ParallelOptions::set_CancellationToken method + + +Sets the [CancellationToken](../../../system.threading/cancellationtoken/) associated with this [ParallelOptions](../) instance. + +```cpp +void System::Threading::Tasks::ParallelOptions::set_CancellationToken(const CancellationToken &value) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| value | const CancellationToken\& | The [CancellationToken](../../../system.threading/cancellationtoken/) to use for cancellation. | + +## See Also + +* Class [CancellationToken](../../../system.threading/cancellationtoken/) +* Class [ParallelOptions](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/paralleloptions/set_maxdegreeofparallelism/_index.md b/english/cpp/system.threading.tasks/paralleloptions/set_maxdegreeofparallelism/_index.md new file mode 100644 index 0000000000..fa1af51b4a --- /dev/null +++ b/english/cpp/system.threading.tasks/paralleloptions/set_maxdegreeofparallelism/_index.md @@ -0,0 +1,28 @@ +--- +title: System::Threading::Tasks::ParallelOptions::set_MaxDegreeOfParallelism method +linktitle: set_MaxDegreeOfParallelism +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::ParallelOptions::set_MaxDegreeOfParallelism method. Sets the maximum degree of parallelism enabled by this ParallelOptions instance in C++.' +type: docs +weight: 600 +url: /cpp/system.threading.tasks/paralleloptions/set_maxdegreeofparallelism/ +--- +## ParallelOptions::set_MaxDegreeOfParallelism method + + +Sets the maximum degree of parallelism enabled by this [ParallelOptions](../) instance. + +```cpp +void System::Threading::Tasks::ParallelOptions::set_MaxDegreeOfParallelism(int32_t value) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| value | int32_t | The maximum number of concurrent tasks (must be positive). | + +## See Also + +* Class [ParallelOptions](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/paralleloptions/set_taskscheduler/_index.md b/english/cpp/system.threading.tasks/paralleloptions/set_taskscheduler/_index.md new file mode 100644 index 0000000000..32bfbc4867 --- /dev/null +++ b/english/cpp/system.threading.tasks/paralleloptions/set_taskscheduler/_index.md @@ -0,0 +1,30 @@ +--- +title: System::Threading::Tasks::ParallelOptions::set_TaskScheduler method +linktitle: set_TaskScheduler +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::ParallelOptions::set_TaskScheduler method. Sets the TaskScheduler associated with this ParallelOptions instance in C++.' +type: docs +weight: 700 +url: /cpp/system.threading.tasks/paralleloptions/set_taskscheduler/ +--- +## ParallelOptions::set_TaskScheduler method + + +Sets the [TaskScheduler](../../taskscheduler/) associated with this [ParallelOptions](../) instance. + +```cpp +void System::Threading::Tasks::ParallelOptions::set_TaskScheduler(const SharedPtr &value) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| value | const SharedPtr\\& | The [TaskScheduler](../../taskscheduler/) to use for scheduling tasks. | + +## See Also + +* Typedef [SharedPtr](../../../system/sharedptr/) +* Class [TaskScheduler](../../taskscheduler/) +* Class [ParallelOptions](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/resulttask/_index.md b/english/cpp/system.threading.tasks/resulttask/_index.md index 8018852778..774df58305 100644 --- a/english/cpp/system.threading.tasks/resulttask/_index.md +++ b/english/cpp/system.threading.tasks/resulttask/_index.md @@ -4,7 +4,7 @@ linktitle: ResultTask second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::ResultTask class. A Task specialization that returns a result value upon completion in C++.' type: docs -weight: 100 +weight: 400 url: /cpp/system.threading.tasks/resulttask/ --- ## ResultTask class @@ -24,9 +24,13 @@ templateclass ResultTask : public System::Threading::Tasks::Task | Method | Description | | --- | --- | +| [Complete](./complete/)(const T\&) | Sets the result value for the task and completes it. | | [ConfigureAwait](./configureawait/)(bool) const | Configures how awaits on this result task should behave regarding context capture. | | [ContinueWith](./continuewith/)(const Action\\>\&) | Creates a continuation that executes when the result task completes. | -| [get_Result](./get_result/)() const | Gets the result of the asynchronous operation. | +| [ContinueWith](./continuewith/)(const Func\, TNewResult\>\&) | Creates a continuation that executes when the result task completes. | +| [ContinueWith](./continuewith/)(const Action\\&) | Creates a continuation that executes when the task completes. | +| [ContinueWith](./continuewith/)(const Func\\&) | Creates a continuation that executes when the task completes. | +| [get_Result](./get_result/)() | Gets the result of the asynchronous operation. | | [GetAwaiter](./getawaiter/)() const | Gets an awaiter for this result task for use with Await. | | [ResultTask](./resulttask/)(const Func\\&) | Constructs a [ResultTask](./) with a function that returns a value. | | [ResultTask](./resulttask/)() | Internal implementation. Not for user code. | diff --git a/english/cpp/system.threading.tasks/resulttask/complete/_index.md b/english/cpp/system.threading.tasks/resulttask/complete/_index.md new file mode 100644 index 0000000000..7822318eaa --- /dev/null +++ b/english/cpp/system.threading.tasks/resulttask/complete/_index.md @@ -0,0 +1,23 @@ +--- +title: System::Threading::Tasks::ResultTask::Complete method +linktitle: Complete +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::ResultTask::Complete method. Sets the result value for the task and completes it in C++.' +type: docs +weight: 200 +url: /cpp/system.threading.tasks/resulttask/complete/ +--- +## ResultTask::Complete method + + +Sets the result value for the task and completes it. + +```cpp +void System::Threading::Tasks::ResultTask::Complete(const T &result) +``` + +## See Also + +* Class [ResultTask](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/resulttask/configureawait/_index.md b/english/cpp/system.threading.tasks/resulttask/configureawait/_index.md index 0b2aa344df..51d9d0434c 100644 --- a/english/cpp/system.threading.tasks/resulttask/configureawait/_index.md +++ b/english/cpp/system.threading.tasks/resulttask/configureawait/_index.md @@ -4,7 +4,7 @@ linktitle: ConfigureAwait second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::ResultTask::ConfigureAwait method. Configures how awaits on this result task should behave regarding context capture in C++.' type: docs -weight: 200 +weight: 300 url: /cpp/system.threading.tasks/resulttask/configureawait/ --- ## ResultTask::ConfigureAwait method diff --git a/english/cpp/system.threading.tasks/resulttask/continuewith/_index.md b/english/cpp/system.threading.tasks/resulttask/continuewith/_index.md index 97a45b23df..3d39274129 100644 --- a/english/cpp/system.threading.tasks/resulttask/continuewith/_index.md +++ b/english/cpp/system.threading.tasks/resulttask/continuewith/_index.md @@ -4,10 +4,10 @@ linktitle: ContinueWith second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::ResultTask::ContinueWith method. Creates a continuation that executes when the result task completes in C++.' type: docs -weight: 300 +weight: 400 url: /cpp/system.threading.tasks/resulttask/continuewith/ --- -## ResultTask::ContinueWith method +## ResultTask::ContinueWith(const Action\\>\&) method Creates a continuation that executes when the result task completes. @@ -38,3 +38,92 @@ The continuation action receives this [ResultTask](../) to access the result val * Class [ResultTask](../) * Namespace [System::Threading::Tasks](../../) * Library [Aspose.PDF for C++](../../../) +## ResultTask::ContinueWith(const Action\\&) method + + +Creates a continuation that executes when the task completes. + +```cpp +TaskPtr System::Threading::Tasks::Task::ContinueWith(const Action &continuationAction) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| continuationAction | const Action\\& | [Action](../../../system/action/) to execute when this task completes | + +### ReturnValue + +[TaskPtr](../../../system/taskptr/) A new task representing the continuation + +## See Also + +* Typedef [TaskPtr](../../../system/taskptr/) +* Typedef [Action](../../../system/action/) +* Class [ResultTask](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) +## ResultTask::ContinueWith(const Func\, TNewResult\>\&) method + + +Creates a continuation that executes when the result task completes. + +```cpp +template RTaskPtr System::Threading::Tasks::ResultTask::ContinueWith(const Func, TNewResult> &continuationFunction) +``` + + +| Parameter | Description | +| --- | --- | +| TNewResult | Result type of task continuation | + +| Parameter | Type | Description | +| --- | --- | --- | +| continuationFunction | const Func\, TNewResult\>\& | Function to get continuation result when this task completes, receiving this result task | + +### ReturnValue + +[RTaskPtr](../../../system/rtaskptr/) A new task representing the continuation +## Remarks + + + +The continuation function receives this [ResultTask](../) to access the result value + +## See Also + +* Typedef [RTaskPtr](../../../system/rtaskptr/) +* Class [Func](../../../system/func/) +* Class [ResultTask](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) +## ResultTask::ContinueWith(const Func\\&) method + + +Creates a continuation that executes when the task completes. + +```cpp +template RTaskPtr System::Threading::Tasks::Task::ContinueWith(const Func &continuationFunction) +``` + + +| Parameter | Description | +| --- | --- | +| TResult | A type of task result | + +| Parameter | Type | Description | +| --- | --- | --- | +| continuationFunction | const Func\\& | Function to get result when this task completes | + +### ReturnValue + +[RTaskPtr](../../../system/rtaskptr/) A new task representing the continuation + +## See Also + +* Typedef [RTaskPtr](../../../system/rtaskptr/) +* Class [Func](../../../system/func/) +* Typedef [TaskPtr](../../../system/taskptr/) +* Class [ResultTask](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/resulttask/get_result/_index.md b/english/cpp/system.threading.tasks/resulttask/get_result/_index.md index 52501e1e27..9251744f56 100644 --- a/english/cpp/system.threading.tasks/resulttask/get_result/_index.md +++ b/english/cpp/system.threading.tasks/resulttask/get_result/_index.md @@ -4,7 +4,7 @@ linktitle: get_Result second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::ResultTask::get_Result method. Gets the result of the asynchronous operation in C++.' type: docs -weight: 400 +weight: 500 url: /cpp/system.threading.tasks/resulttask/get_result/ --- ## ResultTask::get_Result method @@ -13,7 +13,7 @@ url: /cpp/system.threading.tasks/resulttask/get_result/ Gets the result of the asynchronous operation. ```cpp -T System::Threading::Tasks::ResultTask::get_Result() const +T System::Threading::Tasks::ResultTask::get_Result() ``` diff --git a/english/cpp/system.threading.tasks/resulttask/getawaiter/_index.md b/english/cpp/system.threading.tasks/resulttask/getawaiter/_index.md index 63a3f0cf9e..8ab0050f3c 100644 --- a/english/cpp/system.threading.tasks/resulttask/getawaiter/_index.md +++ b/english/cpp/system.threading.tasks/resulttask/getawaiter/_index.md @@ -4,7 +4,7 @@ linktitle: GetAwaiter second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::ResultTask::GetAwaiter method. Gets an awaiter for this result task for use with Await in C++.' type: docs -weight: 500 +weight: 600 url: /cpp/system.threading.tasks/resulttask/getawaiter/ --- ## ResultTask::GetAwaiter method diff --git a/english/cpp/system.threading.tasks/resulttask/set_result/_index.md b/english/cpp/system.threading.tasks/resulttask/set_result/_index.md index 8d77de1d4e..1be3b06265 100644 --- a/english/cpp/system.threading.tasks/resulttask/set_result/_index.md +++ b/english/cpp/system.threading.tasks/resulttask/set_result/_index.md @@ -4,7 +4,7 @@ linktitle: set_Result second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::ResultTask::set_Result method. Sets the result value for the task in C++.' type: docs -weight: 600 +weight: 700 url: /cpp/system.threading.tasks/resulttask/set_result/ --- ## ResultTask::set_Result method diff --git a/english/cpp/system.threading.tasks/resultvaluetask/_index.md b/english/cpp/system.threading.tasks/resultvaluetask/_index.md index 2acebb02e1..803321dedf 100644 --- a/english/cpp/system.threading.tasks/resultvaluetask/_index.md +++ b/english/cpp/system.threading.tasks/resultvaluetask/_index.md @@ -4,7 +4,7 @@ linktitle: ResultValueTask second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::ResultValueTask class. Represents a hybrid task-like type that can wrap either a direct result value or a ResultTask in C++.' type: docs -weight: 200 +weight: 500 url: /cpp/system.threading.tasks/resultvaluetask/ --- ## ResultValueTask class @@ -33,7 +33,7 @@ templateclass ResultValueTask : public System::IEquatable::get_Result() const +T System::Threading::Tasks::ResultValueTask::get_Result() ``` diff --git a/english/cpp/system.threading.tasks/run/_index.md b/english/cpp/system.threading.tasks/run/_index.md index d0a93a8815..bb9fb915eb 100644 --- a/english/cpp/system.threading.tasks/run/_index.md +++ b/english/cpp/system.threading.tasks/run/_index.md @@ -2,20 +2,29 @@ title: System::Threading::Tasks::Run method linktitle: Run second_title: Aspose.PDF for C++ API Reference -description: 'How to use Run method of class in C++.' +description: 'System::Threading::Tasks::Run method. Queues the specified work to run on the thread pool and returns a Task handle for that work in C++.' type: docs -weight: 1300 +weight: 1600 url: /cpp/system.threading.tasks/run/ --- ## System::Threading::Tasks::Run(const Action<>\&) method - +Queues the specified work to run on the thread pool and returns a [Task](../task/) handle for that work. ```cpp TaskPtr System::Threading::Tasks::Run(const Action<> &action) ``` + +| Parameter | Type | Description | +| --- | --- | --- | +| action | const Action<>\& | The work to execute asynchronously. | + +### ReturnValue + +A [Task](../task/) that represents the work queued to execute in the thread pool. + ## See Also * Typedef [TaskPtr](../../system/taskptr/) @@ -25,12 +34,22 @@ TaskPtr System::Threading::Tasks::Run(const Action<> &action) ## System::Threading::Tasks::Run(const Action<>\&, const CancellationToken\&) method - +Queues the specified work to run on the thread pool and returns a [Task](../task/) handle for that work. ```cpp TaskPtr System::Threading::Tasks::Run(const Action<> &action, const CancellationToken &cancellationToken) ``` + +| Parameter | Type | Description | +| --- | --- | --- | +| action | const Action<>\& | The work to execute asynchronously. | +| cancellationToken | const CancellationToken\& | A cancellation token that can be used to cancel the work if it has not yet started. | + +### ReturnValue + +A [Task](../task/) that represents the work queued to execute in the thread pool. + ## See Also * Typedef [TaskPtr](../../system/taskptr/) @@ -41,12 +60,21 @@ TaskPtr System::Threading::Tasks::Run(const Action<> &action, const Cancellation ## System::Threading::Tasks::Run(const Func\\&) method - +Queues the specified work to run on the thread pool and returns a proxy for the [Task](../task/) returned by the function. ```cpp TaskPtr System::Threading::Tasks::Run(const Func &function) ``` + +| Parameter | Type | Description | +| --- | --- | --- | +| function | const Func\\& | The work to execute asynchronously, which returns a [Task](../task/). | + +### ReturnValue + +A [Task](../task/) that represents a proxy for the [Task](../task/) returned by the function. + ## See Also * Typedef [TaskPtr](../../system/taskptr/) @@ -56,12 +84,25 @@ TaskPtr System::Threading::Tasks::Run(const Func &function) ## System::Threading::Tasks::Run(const Func\\&) method - +Queues the specified work to run on the thread pool and returns a [Task](../task/) handle for that work. ```cpp template RTaskPtr System::Threading::Tasks::Run(const Func &function) ``` + +| Parameter | Description | +| --- | --- | +| TResult | The type of the result returned by the task. | + +| Parameter | Type | Description | +| --- | --- | --- | +| function | const Func\\& | The work to execute asynchronously. | + +### ReturnValue + +A [Task](../task/) that represents the work queued to execute in the thread pool. + ## See Also * Typedef [RTaskPtr](../../system/rtaskptr/) diff --git a/english/cpp/system.threading.tasks/task/_index.md b/english/cpp/system.threading.tasks/task/_index.md index a1f5da8cbe..7c7f2dc9ee 100644 --- a/english/cpp/system.threading.tasks/task/_index.md +++ b/english/cpp/system.threading.tasks/task/_index.md @@ -4,7 +4,7 @@ linktitle: Task second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task class. Represents an asynchronous operation that can be awaited and composed with other tasks in C++.' type: docs -weight: 300 +weight: 600 url: /cpp/system.threading.tasks/task/ --- ## Task class @@ -20,17 +20,20 @@ class Task : public System::IDisposable | Method | Description | | --- | --- | -| [Activate](./activate/)(TaskScheduler *) | Activates the task for execution on a scheduler. | -| [AddContinuation](./addcontinuation/)(const Action<>\&) | Adds a continuation action to be executed upon completion. | +| [Activate](./activate/)(const SharedPtr\\&) | Activates the task for execution on a scheduler. | +| [AddCompletionAction](./addcompletionaction/)(const Action<>\&) | Adds a continuation action to be executed upon completion. | +| [Cancel](./cancel/)() | Marks the task as cancelled and finishes task. | | [Complete](./complete/)() | Marks the task as completed and finishes task. | | [ConfigureAwait](./configureawait/)(bool) const | Configures how awaits on this task should behave regarding context capture. | | [ContinueWith](./continuewith/)(const Action\\&) | Creates a continuation that executes when the task completes. | +| [ContinueWith](./continuewith/)(const Func\\&) | Creates a continuation that executes when the task completes. | | [Dispose](./dispose/)() override | Releases resources associated with the task. | | [Execute](./execute/)() | Executes the task's function. | | [get_AsyncState](./get_asyncstate/)() const | Gets the user-defined state object associated with the task. | | static [get_CompletedTask](./get_completedtask/)() | Gets a completed task (singleton) | | static [get_CurrentId](./get_currentid/)() | | -| [get_Id](./get_id/)() const | Gets the ID for task. | +| [get_Exception](./get_exception/)() const | Gets the ID for task. | +| [get_Id](./get_id/)() const | | | [get_IsCanceled](./get_iscanceled/)() const | Gets whether the task completed due to cancellation. | | [get_IsCompleted](./get_iscompleted/)() const | Gets whether the task has completed. | | [get_IsFaulted](./get_isfaulted/)() const | Gets whether the task completed due to an unhandled exception. | @@ -40,7 +43,7 @@ class Task : public System::IDisposable | [RunSynchronously](./runsynchronously/)() | Runs the task synchronously on the current thread. | | [RunSynchronously](./runsynchronously/)(const SharedPtr\\&) | Runs the task synchronously using the specified scheduler. | | [set_Function](./set_function/)(const FunctionT\&) | Sets the internal function to execute. | -| [set_Scheduler](./set_scheduler/)(TaskScheduler *) | Sets the scheduler associated with this task. | +| [set_Scheduler](./set_scheduler/)(const SharedPtr\\&) | Sets the scheduler associated with this task. | | [set_Status](./set_status/)(TaskStatus) | Sets the task status. | | [Start](./start/)() | Starts the task execution using the default scheduler. | | [Start](./start/)(const SharedPtr\\&) | Starts the task execution using the specified scheduler. | @@ -49,8 +52,8 @@ class Task : public System::IDisposable | [Task](./task/)(const Action\\>\&, const SharedPtr\\&) | Constructs a [Task](./) with a stateful action and state object. | | [Task](./task/)(const Action\\>\&, const SharedPtr\\&, const CancellationToken\&) | Constructs a [Task](./) with stateful action, state, and cancellation token. | | [Task](./task/)() | Internal constructor for creating uninitialized tasks. | -| [Wait](./wait/)(const CancellationToken\&) const | Waits for the task to complete with cancellation support. | -| [Wait](./wait/)() const | Waits for the task to complete. | +| [Wait](./wait/)(const CancellationToken\&) | Waits for the task to complete with cancellation support. | +| [Wait](./wait/)() | Waits for the task to complete. | | [~Task](./~task/)() | Destructor. | ## Typedefs diff --git a/english/cpp/system.threading.tasks/task/activate/_index.md b/english/cpp/system.threading.tasks/task/activate/_index.md index 308fddbe32..87ab19f629 100644 --- a/english/cpp/system.threading.tasks/task/activate/_index.md +++ b/english/cpp/system.threading.tasks/task/activate/_index.md @@ -13,11 +13,12 @@ url: /cpp/system.threading.tasks/task/activate/ Activates the task for execution on a scheduler. ```cpp -void System::Threading::Tasks::Task::Activate(TaskScheduler *=nullptr) +void System::Threading::Tasks::Task::Activate(const SharedPtr &scheduler=nullptr) ``` ## See Also +* Typedef [SharedPtr](../../../system/sharedptr/) * Class [TaskScheduler](../../taskscheduler/) * Class [Task](../) * Namespace [System::Threading::Tasks](../../) diff --git a/english/cpp/system.threading.tasks/task/addcompletionaction/_index.md b/english/cpp/system.threading.tasks/task/addcompletionaction/_index.md new file mode 100644 index 0000000000..02f8a38bda --- /dev/null +++ b/english/cpp/system.threading.tasks/task/addcompletionaction/_index.md @@ -0,0 +1,24 @@ +--- +title: System::Threading::Tasks::Task::AddCompletionAction method +linktitle: AddCompletionAction +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::Task::AddCompletionAction method. Adds a continuation action to be executed upon completion in C++.' +type: docs +weight: 400 +url: /cpp/system.threading.tasks/task/addcompletionaction/ +--- +## Task::AddCompletionAction method + + +Adds a continuation action to be executed upon completion. + +```cpp +void System::Threading::Tasks::Task::AddCompletionAction(const Action<> &continuation) +``` + +## See Also + +* Typedef [Action](../../../system/action/) +* Class [Task](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/task/addcontinuation/_index.md b/english/cpp/system.threading.tasks/task/addcontinuation/_index.md deleted file mode 100644 index 74e89acbd1..0000000000 --- a/english/cpp/system.threading.tasks/task/addcontinuation/_index.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: System::Threading::Tasks::Task::AddContinuation method -linktitle: AddContinuation -second_title: Aspose.PDF for C++ API Reference -description: 'System::Threading::Tasks::Task::AddContinuation method. Adds a continuation action to be executed upon completion in C++.' -type: docs -weight: 400 -url: /cpp/system.threading.tasks/task/addcontinuation/ ---- -## Task::AddContinuation method - - -Adds a continuation action to be executed upon completion. - -```cpp -void System::Threading::Tasks::Task::AddContinuation(const Action<> &continuation) -``` - -## See Also - -* Typedef [Action](../../../system/action/) -* Class [Task](../) -* Namespace [System::Threading::Tasks](../../) -* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/task/cancel/_index.md b/english/cpp/system.threading.tasks/task/cancel/_index.md new file mode 100644 index 0000000000..e53baa6cd7 --- /dev/null +++ b/english/cpp/system.threading.tasks/task/cancel/_index.md @@ -0,0 +1,23 @@ +--- +title: System::Threading::Tasks::Task::Cancel method +linktitle: Cancel +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::Task::Cancel method. Marks the task as cancelled and finishes task in C++.' +type: docs +weight: 500 +url: /cpp/system.threading.tasks/task/cancel/ +--- +## Task::Cancel method + + +Marks the task as cancelled and finishes task. + +```cpp +void System::Threading::Tasks::Task::Cancel() +``` + +## See Also + +* Class [Task](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/task/complete/_index.md b/english/cpp/system.threading.tasks/task/complete/_index.md index 9abc70764b..0142c3ffbb 100644 --- a/english/cpp/system.threading.tasks/task/complete/_index.md +++ b/english/cpp/system.threading.tasks/task/complete/_index.md @@ -4,7 +4,7 @@ linktitle: Complete second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::Complete method. Marks the task as completed and finishes task in C++.' type: docs -weight: 500 +weight: 600 url: /cpp/system.threading.tasks/task/complete/ --- ## Task::Complete method diff --git a/english/cpp/system.threading.tasks/task/configureawait/_index.md b/english/cpp/system.threading.tasks/task/configureawait/_index.md index 858d885ee9..15ecb0e53a 100644 --- a/english/cpp/system.threading.tasks/task/configureawait/_index.md +++ b/english/cpp/system.threading.tasks/task/configureawait/_index.md @@ -4,7 +4,7 @@ linktitle: ConfigureAwait second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::ConfigureAwait method. Configures how awaits on this task should behave regarding context capture in C++.' type: docs -weight: 600 +weight: 700 url: /cpp/system.threading.tasks/task/configureawait/ --- ## Task::ConfigureAwait method diff --git a/english/cpp/system.threading.tasks/task/continuewith/_index.md b/english/cpp/system.threading.tasks/task/continuewith/_index.md index ac9308bbba..3a93636cbc 100644 --- a/english/cpp/system.threading.tasks/task/continuewith/_index.md +++ b/english/cpp/system.threading.tasks/task/continuewith/_index.md @@ -4,10 +4,10 @@ linktitle: ContinueWith second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::ContinueWith method. Creates a continuation that executes when the task completes in C++.' type: docs -weight: 700 +weight: 800 url: /cpp/system.threading.tasks/task/continuewith/ --- -## Task::ContinueWith method +## Task::ContinueWith(const Action\\&) method Creates a continuation that executes when the task completes. @@ -32,3 +32,33 @@ TaskPtr System::Threading::Tasks::Task::ContinueWith(const Action &cont * Class [Task](../) * Namespace [System::Threading::Tasks](../../) * Library [Aspose.PDF for C++](../../../) +## Task::ContinueWith(const Func\\&) method + + +Creates a continuation that executes when the task completes. + +```cpp +template RTaskPtr System::Threading::Tasks::Task::ContinueWith(const Func &continuationFunction) +``` + + +| Parameter | Description | +| --- | --- | +| TResult | A type of task result | + +| Parameter | Type | Description | +| --- | --- | --- | +| continuationFunction | const Func\\& | Function to get result when this task completes | + +### ReturnValue + +[RTaskPtr](../../../system/rtaskptr/) A new task representing the continuation + +## See Also + +* Typedef [RTaskPtr](../../../system/rtaskptr/) +* Class [Func](../../../system/func/) +* Typedef [TaskPtr](../../../system/taskptr/) +* Class [Task](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/task/dispose/_index.md b/english/cpp/system.threading.tasks/task/dispose/_index.md index d58f80059a..849f43c8ef 100644 --- a/english/cpp/system.threading.tasks/task/dispose/_index.md +++ b/english/cpp/system.threading.tasks/task/dispose/_index.md @@ -4,7 +4,7 @@ linktitle: Dispose second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::Dispose method. Releases resources associated with the task in C++.' type: docs -weight: 800 +weight: 900 url: /cpp/system.threading.tasks/task/dispose/ --- ## Task::Dispose method diff --git a/english/cpp/system.threading.tasks/task/execute/_index.md b/english/cpp/system.threading.tasks/task/execute/_index.md index 77ea10db25..0210014981 100644 --- a/english/cpp/system.threading.tasks/task/execute/_index.md +++ b/english/cpp/system.threading.tasks/task/execute/_index.md @@ -4,7 +4,7 @@ linktitle: Execute second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::Execute method. Executes the task''s function in C++.' type: docs -weight: 900 +weight: 1000 url: /cpp/system.threading.tasks/task/execute/ --- ## Task::Execute method diff --git a/english/cpp/system.threading.tasks/task/functiont/_index.md b/english/cpp/system.threading.tasks/task/functiont/_index.md index ca92356e93..3320512a7f 100644 --- a/english/cpp/system.threading.tasks/task/functiont/_index.md +++ b/english/cpp/system.threading.tasks/task/functiont/_index.md @@ -4,7 +4,7 @@ linktitle: FunctionT second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::FunctionT typedef. Internal implementation. Not for user code in C++.' type: docs -weight: 2600 +weight: 2800 url: /cpp/system.threading.tasks/task/functiont/ --- ## FunctionT typedef diff --git a/english/cpp/system.threading.tasks/task/get_asyncstate/_index.md b/english/cpp/system.threading.tasks/task/get_asyncstate/_index.md index 239eb03736..b32e281c6b 100644 --- a/english/cpp/system.threading.tasks/task/get_asyncstate/_index.md +++ b/english/cpp/system.threading.tasks/task/get_asyncstate/_index.md @@ -4,7 +4,7 @@ linktitle: get_AsyncState second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::get_AsyncState method. Gets the user-defined state object associated with the task in C++.' type: docs -weight: 1000 +weight: 1100 url: /cpp/system.threading.tasks/task/get_asyncstate/ --- ## Task::get_AsyncState method diff --git a/english/cpp/system.threading.tasks/task/get_completedtask/_index.md b/english/cpp/system.threading.tasks/task/get_completedtask/_index.md index 10b851c23f..ce019cdfd9 100644 --- a/english/cpp/system.threading.tasks/task/get_completedtask/_index.md +++ b/english/cpp/system.threading.tasks/task/get_completedtask/_index.md @@ -4,7 +4,7 @@ linktitle: get_CompletedTask second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::get_CompletedTask method. Gets a completed task (singleton) in C++.' type: docs -weight: 2400 +weight: 2600 url: /cpp/system.threading.tasks/task/get_completedtask/ --- ## Task::get_CompletedTask method diff --git a/english/cpp/system.threading.tasks/task/get_currentid/_index.md b/english/cpp/system.threading.tasks/task/get_currentid/_index.md index 1d2d56a557..0968ad083a 100644 --- a/english/cpp/system.threading.tasks/task/get_currentid/_index.md +++ b/english/cpp/system.threading.tasks/task/get_currentid/_index.md @@ -4,7 +4,7 @@ linktitle: get_CurrentId second_title: Aspose.PDF for C++ API Reference description: 'How to use get_CurrentId method of System::Threading::Tasks::Task class in C++.' type: docs -weight: 2500 +weight: 2700 url: /cpp/system.threading.tasks/task/get_currentid/ --- ## Task::get_CurrentId method diff --git a/english/cpp/system.threading.tasks/task/get_exception/_index.md b/english/cpp/system.threading.tasks/task/get_exception/_index.md new file mode 100644 index 0000000000..010e3a80b5 --- /dev/null +++ b/english/cpp/system.threading.tasks/task/get_exception/_index.md @@ -0,0 +1,29 @@ +--- +title: System::Threading::Tasks::Task::get_Exception method +linktitle: get_Exception +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::Task::get_Exception method. Gets the ID for task in C++.' +type: docs +weight: 1200 +url: /cpp/system.threading.tasks/task/get_exception/ +--- +## Task::get_Exception method + + +Gets the ID for task. + +```cpp +AggregateException System::Threading::Tasks::Task::get_Exception() const +``` + + +### ReturnValue + +int32_t The unique ID for this task + +## See Also + +* Typedef [AggregateException](../../../system/aggregateexception/) +* Class [Task](../) +* Namespace [System::Threading::Tasks](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading.tasks/task/get_id/_index.md b/english/cpp/system.threading.tasks/task/get_id/_index.md index 3965efa6cf..4af7fa05c2 100644 --- a/english/cpp/system.threading.tasks/task/get_id/_index.md +++ b/english/cpp/system.threading.tasks/task/get_id/_index.md @@ -2,25 +2,20 @@ title: System::Threading::Tasks::Task::get_Id method linktitle: get_Id second_title: Aspose.PDF for C++ API Reference -description: 'System::Threading::Tasks::Task::get_Id method. Gets the ID for task in C++.' +description: 'How to use get_Id method of System::Threading::Tasks::Task class in C++.' type: docs -weight: 1100 +weight: 1300 url: /cpp/system.threading.tasks/task/get_id/ --- ## Task::get_Id method -Gets the ID for task. + ```cpp int32_t System::Threading::Tasks::Task::get_Id() const ``` - -### ReturnValue - -int32_t The unique ID for this task - ## See Also * Class [Task](../) diff --git a/english/cpp/system.threading.tasks/task/get_iscanceled/_index.md b/english/cpp/system.threading.tasks/task/get_iscanceled/_index.md index ad7f59db26..7463f8863d 100644 --- a/english/cpp/system.threading.tasks/task/get_iscanceled/_index.md +++ b/english/cpp/system.threading.tasks/task/get_iscanceled/_index.md @@ -4,7 +4,7 @@ linktitle: get_IsCanceled second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::get_IsCanceled method. Gets whether the task completed due to cancellation in C++.' type: docs -weight: 1200 +weight: 1400 url: /cpp/system.threading.tasks/task/get_iscanceled/ --- ## Task::get_IsCanceled method diff --git a/english/cpp/system.threading.tasks/task/get_iscompleted/_index.md b/english/cpp/system.threading.tasks/task/get_iscompleted/_index.md index 35bad3cb05..453eb436a1 100644 --- a/english/cpp/system.threading.tasks/task/get_iscompleted/_index.md +++ b/english/cpp/system.threading.tasks/task/get_iscompleted/_index.md @@ -4,7 +4,7 @@ linktitle: get_IsCompleted second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::get_IsCompleted method. Gets whether the task has completed in C++.' type: docs -weight: 1300 +weight: 1500 url: /cpp/system.threading.tasks/task/get_iscompleted/ --- ## Task::get_IsCompleted method diff --git a/english/cpp/system.threading.tasks/task/get_isfaulted/_index.md b/english/cpp/system.threading.tasks/task/get_isfaulted/_index.md index b52c594363..ca7baf461f 100644 --- a/english/cpp/system.threading.tasks/task/get_isfaulted/_index.md +++ b/english/cpp/system.threading.tasks/task/get_isfaulted/_index.md @@ -4,7 +4,7 @@ linktitle: get_IsFaulted second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::get_IsFaulted method. Gets whether the task completed due to an unhandled exception in C++.' type: docs -weight: 1400 +weight: 1600 url: /cpp/system.threading.tasks/task/get_isfaulted/ --- ## Task::get_IsFaulted method diff --git a/english/cpp/system.threading.tasks/task/get_scheduler/_index.md b/english/cpp/system.threading.tasks/task/get_scheduler/_index.md index ce668ca819..5e3b87acbb 100644 --- a/english/cpp/system.threading.tasks/task/get_scheduler/_index.md +++ b/english/cpp/system.threading.tasks/task/get_scheduler/_index.md @@ -4,7 +4,7 @@ linktitle: get_Scheduler second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::get_Scheduler method. Gets the scheduler associated with this task in C++.' type: docs -weight: 1500 +weight: 1700 url: /cpp/system.threading.tasks/task/get_scheduler/ --- ## Task::get_Scheduler method @@ -13,11 +13,12 @@ url: /cpp/system.threading.tasks/task/get_scheduler/ Gets the scheduler associated with this task. ```cpp -TaskScheduler * System::Threading::Tasks::Task::get_Scheduler() const +const SharedPtr & System::Threading::Tasks::Task::get_Scheduler() const ``` ## See Also +* Typedef [SharedPtr](../../../system/sharedptr/) * Class [TaskScheduler](../../taskscheduler/) * Class [Task](../) * Namespace [System::Threading::Tasks](../../) diff --git a/english/cpp/system.threading.tasks/task/get_status/_index.md b/english/cpp/system.threading.tasks/task/get_status/_index.md index 83159e698f..aff5c1b108 100644 --- a/english/cpp/system.threading.tasks/task/get_status/_index.md +++ b/english/cpp/system.threading.tasks/task/get_status/_index.md @@ -4,7 +4,7 @@ linktitle: get_Status second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::get_Status method. Gets the current status of the task in C++.' type: docs -weight: 1600 +weight: 1800 url: /cpp/system.threading.tasks/task/get_status/ --- ## Task::get_Status method diff --git a/english/cpp/system.threading.tasks/task/getawaiter/_index.md b/english/cpp/system.threading.tasks/task/getawaiter/_index.md index 44f5aea9b4..1dabbb1552 100644 --- a/english/cpp/system.threading.tasks/task/getawaiter/_index.md +++ b/english/cpp/system.threading.tasks/task/getawaiter/_index.md @@ -4,7 +4,7 @@ linktitle: GetAwaiter second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::GetAwaiter method. Gets an awaiter for this task for use with Await in C++.' type: docs -weight: 1700 +weight: 1900 url: /cpp/system.threading.tasks/task/getawaiter/ --- ## Task::GetAwaiter method diff --git a/english/cpp/system.threading.tasks/task/runsynchronously/_index.md b/english/cpp/system.threading.tasks/task/runsynchronously/_index.md index 713332048f..b3990a62c9 100644 --- a/english/cpp/system.threading.tasks/task/runsynchronously/_index.md +++ b/english/cpp/system.threading.tasks/task/runsynchronously/_index.md @@ -4,7 +4,7 @@ linktitle: RunSynchronously second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::RunSynchronously method. Runs the task synchronously on the current thread in C++.' type: docs -weight: 1800 +weight: 2000 url: /cpp/system.threading.tasks/task/runsynchronously/ --- ## Task::RunSynchronously() method diff --git a/english/cpp/system.threading.tasks/task/set_function/_index.md b/english/cpp/system.threading.tasks/task/set_function/_index.md index 9b04f17dfe..4e5d3dbb89 100644 --- a/english/cpp/system.threading.tasks/task/set_function/_index.md +++ b/english/cpp/system.threading.tasks/task/set_function/_index.md @@ -4,7 +4,7 @@ linktitle: set_Function second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::set_Function method. Sets the internal function to execute in C++.' type: docs -weight: 1900 +weight: 2100 url: /cpp/system.threading.tasks/task/set_function/ --- ## Task::set_Function method diff --git a/english/cpp/system.threading.tasks/task/set_scheduler/_index.md b/english/cpp/system.threading.tasks/task/set_scheduler/_index.md index 0a2c180b1e..65fe69e943 100644 --- a/english/cpp/system.threading.tasks/task/set_scheduler/_index.md +++ b/english/cpp/system.threading.tasks/task/set_scheduler/_index.md @@ -4,7 +4,7 @@ linktitle: set_Scheduler second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::set_Scheduler method. Sets the scheduler associated with this task in C++.' type: docs -weight: 2000 +weight: 2200 url: /cpp/system.threading.tasks/task/set_scheduler/ --- ## Task::set_Scheduler method @@ -13,11 +13,12 @@ url: /cpp/system.threading.tasks/task/set_scheduler/ Sets the scheduler associated with this task. ```cpp -void System::Threading::Tasks::Task::set_Scheduler(TaskScheduler *scheduler) +void System::Threading::Tasks::Task::set_Scheduler(const SharedPtr &scheduler) ``` ## See Also +* Typedef [SharedPtr](../../../system/sharedptr/) * Class [TaskScheduler](../../taskscheduler/) * Class [Task](../) * Namespace [System::Threading::Tasks](../../) diff --git a/english/cpp/system.threading.tasks/task/set_status/_index.md b/english/cpp/system.threading.tasks/task/set_status/_index.md index d169f2368e..81e8c8c8aa 100644 --- a/english/cpp/system.threading.tasks/task/set_status/_index.md +++ b/english/cpp/system.threading.tasks/task/set_status/_index.md @@ -4,7 +4,7 @@ linktitle: set_Status second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::set_Status method. Sets the task status in C++.' type: docs -weight: 2100 +weight: 2300 url: /cpp/system.threading.tasks/task/set_status/ --- ## Task::set_Status method diff --git a/english/cpp/system.threading.tasks/task/start/_index.md b/english/cpp/system.threading.tasks/task/start/_index.md index d80254bbd5..11c3c852f9 100644 --- a/english/cpp/system.threading.tasks/task/start/_index.md +++ b/english/cpp/system.threading.tasks/task/start/_index.md @@ -4,7 +4,7 @@ linktitle: Start second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::Start method. Starts the task execution using the default scheduler in C++.' type: docs -weight: 2200 +weight: 2400 url: /cpp/system.threading.tasks/task/start/ --- ## Task::Start() method diff --git a/english/cpp/system.threading.tasks/task/wait/_index.md b/english/cpp/system.threading.tasks/task/wait/_index.md index 497e253276..63e0620f26 100644 --- a/english/cpp/system.threading.tasks/task/wait/_index.md +++ b/english/cpp/system.threading.tasks/task/wait/_index.md @@ -4,16 +4,16 @@ linktitle: Wait second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::Task::Wait method. Waits for the task to complete in C++.' type: docs -weight: 2300 +weight: 2500 url: /cpp/system.threading.tasks/task/wait/ --- -## Task::Wait() const method +## Task::Wait() method Waits for the task to complete. ```cpp -void System::Threading::Tasks::Task::Wait() const +void System::Threading::Tasks::Task::Wait() ``` @@ -22,13 +22,13 @@ void System::Threading::Tasks::Task::Wait() const * Class [Task](../) * Namespace [System::Threading::Tasks](../../) * Library [Aspose.PDF for C++](../../../) -## Task::Wait(const CancellationToken\&) const method +## Task::Wait(const CancellationToken\&) method Waits for the task to complete with cancellation support. ```cpp -void System::Threading::Tasks::Task::Wait(const CancellationToken &cancellationToken) const +void System::Threading::Tasks::Task::Wait(const CancellationToken &cancellationToken) ``` diff --git a/english/cpp/system.threading.tasks/taskscheduler/_index.md b/english/cpp/system.threading.tasks/taskscheduler/_index.md index 57b178fcdc..f98a763748 100644 --- a/english/cpp/system.threading.tasks/taskscheduler/_index.md +++ b/english/cpp/system.threading.tasks/taskscheduler/_index.md @@ -4,7 +4,7 @@ linktitle: TaskScheduler second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::TaskScheduler class. Represents an object that handles the low-level work of queuing tasks onto threads in C++.' type: docs -weight: 400 +weight: 700 url: /cpp/system.threading.tasks/taskscheduler/ --- ## TaskScheduler class diff --git a/english/cpp/system.threading.tasks/taskstatus/_index.md b/english/cpp/system.threading.tasks/taskstatus/_index.md index 652f27d04b..8b38313f2a 100644 --- a/english/cpp/system.threading.tasks/taskstatus/_index.md +++ b/english/cpp/system.threading.tasks/taskstatus/_index.md @@ -4,7 +4,7 @@ linktitle: TaskStatus second_title: Aspose.PDF for C++ API Reference description: 'How to use System::Threading::Tasks::TaskStatus enum in C++.' type: docs -weight: 600 +weight: 900 url: /cpp/system.threading.tasks/taskstatus/ --- ## TaskStatus enum diff --git a/english/cpp/system.threading.tasks/valuetask/_index.md b/english/cpp/system.threading.tasks/valuetask/_index.md index 6fcf5cbe7e..35d23163bf 100644 --- a/english/cpp/system.threading.tasks/valuetask/_index.md +++ b/english/cpp/system.threading.tasks/valuetask/_index.md @@ -4,7 +4,7 @@ linktitle: ValueTask second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::Tasks::ValueTask class. Provides an awaitable result of an asynchronous operation in C++.' type: docs -weight: 500 +weight: 800 url: /cpp/system.threading.tasks/valuetask/ --- ## ValueTask class diff --git a/english/cpp/system.threading.tasks/waitall/_index.md b/english/cpp/system.threading.tasks/waitall/_index.md new file mode 100644 index 0000000000..459c0176e1 --- /dev/null +++ b/english/cpp/system.threading.tasks/waitall/_index.md @@ -0,0 +1,51 @@ +--- +title: System::Threading::Tasks::WaitAll method +linktitle: WaitAll +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::WaitAll method. Waits for all of the provided Task objects to complete execution in C++.' +type: docs +weight: 2000 +url: /cpp/system.threading.tasks/waitall/ +--- +## System::Threading::Tasks::WaitAll(const ArrayPtr\\&) method + + +Waits for all of the provided [Task](../task/) objects to complete execution. + +```cpp +void System::Threading::Tasks::WaitAll(const ArrayPtr &tasks) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| tasks | const ArrayPtr\\& | An array of [Task](../task/) instances on which to wait. | + +## See Also + +* Typedef [ArrayPtr](../../system/arrayptr/) +* Typedef [TaskPtr](../../system/taskptr/) +* Namespace [System::Threading::Tasks](../) +* Library [Aspose.PDF for C++](../../) +## System::Threading::Tasks::WaitAll(const ArrayPtr\\&, const CancellationToken\&) method + + +Waits for all of the provided [Task](../task/) objects to complete execution. + +```cpp +void System::Threading::Tasks::WaitAll(const ArrayPtr &tasks, const CancellationToken &cancellationToken) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| tasks | const ArrayPtr\\& | An array of [Task](../task/) instances on which to wait. | +| cancellationToken | const CancellationToken\& | A [CancellationToken](../../system.threading/cancellationtoken/) to observe while waiting for the tasks to complete. | + +## See Also + +* Typedef [ArrayPtr](../../system/arrayptr/) +* Typedef [TaskPtr](../../system/taskptr/) +* Class [CancellationToken](../../system.threading/cancellationtoken/) +* Namespace [System::Threading::Tasks](../) +* Library [Aspose.PDF for C++](../../) diff --git a/english/cpp/system.threading.tasks/waitany/_index.md b/english/cpp/system.threading.tasks/waitany/_index.md new file mode 100644 index 0000000000..2f53ebf8fd --- /dev/null +++ b/english/cpp/system.threading.tasks/waitany/_index.md @@ -0,0 +1,59 @@ +--- +title: System::Threading::Tasks::WaitAny method +linktitle: WaitAny +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::WaitAny method. Waits for any of the provided Task objects to complete execution in C++.' +type: docs +weight: 2200 +url: /cpp/system.threading.tasks/waitany/ +--- +## System::Threading::Tasks::WaitAny(const ArrayPtr\\&) method + + +Waits for any of the provided [Task](../task/) objects to complete execution. + +```cpp +int32_t System::Threading::Tasks::WaitAny(const ArrayPtr &tasks) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| tasks | const ArrayPtr\\& | An array of [Task](../task/) instances on which to wait. | + +### ReturnValue + +The index of the completed task in the tasks array. + +## See Also + +* Typedef [ArrayPtr](../../system/arrayptr/) +* Typedef [TaskPtr](../../system/taskptr/) +* Namespace [System::Threading::Tasks](../) +* Library [Aspose.PDF for C++](../../) +## System::Threading::Tasks::WaitAny(const ArrayPtr\\&, const CancellationToken\&) method + + +Waits for any of the provided [Task](../task/) objects to complete execution. + +```cpp +int32_t System::Threading::Tasks::WaitAny(const ArrayPtr &tasks, const CancellationToken &cancellationToken) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| tasks | const ArrayPtr\\& | An array of [Task](../task/) instances on which to wait. | +| cancellationToken | const CancellationToken\& | A [CancellationToken](../../system.threading/cancellationtoken/) to observe while waiting for the tasks to complete. | + +### ReturnValue + +The index of the completed task in the tasks array. + +## See Also + +* Typedef [ArrayPtr](../../system/arrayptr/) +* Typedef [TaskPtr](../../system/taskptr/) +* Class [CancellationToken](../../system.threading/cancellationtoken/) +* Namespace [System::Threading::Tasks](../) +* Library [Aspose.PDF for C++](../../) diff --git a/english/cpp/system.threading.tasks/whenall/_index.md b/english/cpp/system.threading.tasks/whenall/_index.md index 39be6a7c37..7ec603ea41 100644 --- a/english/cpp/system.threading.tasks/whenall/_index.md +++ b/english/cpp/system.threading.tasks/whenall/_index.md @@ -2,20 +2,33 @@ title: System::Threading::Tasks::WhenAll method linktitle: WhenAll second_title: Aspose.PDF for C++ API Reference -description: 'How to use WhenAll method of class in C++.' +description: 'System::Threading::Tasks::WhenAll method. Creates a task that will complete when all of the supplied tasks have completed in C++.' type: docs -weight: 1700 +weight: 2400 url: /cpp/system.threading.tasks/whenall/ --- -## System::Threading::Tasks::WhenAll(ArrayPtr\\>) method - +## System::Threading::Tasks::WhenAll(const ArrayPtr\\>\&) method +Creates a task that will complete when all of the supplied tasks have completed. ```cpp -template RTaskPtr> System::Threading::Tasks::WhenAll(ArrayPtr> tasks) +template RTaskPtr> System::Threading::Tasks::WhenAll(const ArrayPtr> &tasks) ``` + +| Parameter | Description | +| --- | --- | +| TResult | The type of the completed tasks' results. | + +| Parameter | Type | Description | +| --- | --- | --- | +| tasks | const ArrayPtr\\>\& | The tasks to wait on for completion. | + +### ReturnValue + +A task that returns an array of all the results when all tasks complete. + ## See Also * Typedef [RTaskPtr](../../system/rtaskptr/) @@ -25,47 +38,78 @@ template RTaskPtr> System::Threading::Tasks::WhenAll(Arr ## System::Threading::Tasks::WhenAll(const ArrayPtr\\&) method - +Creates a task that will complete when all of the supplied tasks have completed. ```cpp TaskPtr System::Threading::Tasks::WhenAll(const ArrayPtr &tasks) ``` + +| Parameter | Type | Description | +| --- | --- | --- | +| tasks | const ArrayPtr\\& | The tasks to wait on for completion. | + +### ReturnValue + +A task that represents the completion of all of the supplied tasks. + ## See Also * Typedef [TaskPtr](../../system/taskptr/) * Typedef [ArrayPtr](../../system/arrayptr/) * Namespace [System::Threading::Tasks](../) * Library [Aspose.PDF for C++](../../) -## System::Threading::Tasks::WhenAll(const SharedPtr\\>\&) method - +## System::Threading::Tasks::WhenAll(const SharedPtr\\>\>\&) method +Creates a task that will complete when all of the supplied tasks have completed. ```cpp -TaskPtr System::Threading::Tasks::WhenAll(const SharedPtr> &tasks) +template RTaskPtr> System::Threading::Tasks::WhenAll(const SharedPtr>> &tasks) ``` + +| Parameter | Description | +| --- | --- | +| TResult | The type of the completed tasks' results. | + +| Parameter | Type | Description | +| --- | --- | --- | +| tasks | const SharedPtr\\>\>\& | The tasks to wait on for completion. | + +### ReturnValue + +A task that returns an array of all the results when all tasks complete. + ## See Also -* Typedef [TaskPtr](../../system/taskptr/) +* Typedef [RTaskPtr](../../system/rtaskptr/) +* Typedef [ArrayPtr](../../system/arrayptr/) * Typedef [SharedPtr](../../system/sharedptr/) * Class [IEnumerable](../../system.collections.generic/ienumerable/) * Namespace [System::Threading::Tasks](../) * Library [Aspose.PDF for C++](../../) -## System::Threading::Tasks::WhenAll(SharedPtr\\>\>) method - +## System::Threading::Tasks::WhenAll(const SharedPtr\\>\&) method +Creates a task that will complete when all of the supplied tasks have completed. ```cpp -template RTaskPtr> System::Threading::Tasks::WhenAll(SharedPtr>> tasks) +TaskPtr System::Threading::Tasks::WhenAll(const SharedPtr> &tasks) ``` + +| Parameter | Type | Description | +| --- | --- | --- | +| tasks | const SharedPtr\\>\& | The tasks to wait on for completion. | + +### ReturnValue + +A task that represents the completion of all of the supplied tasks. + ## See Also -* Typedef [RTaskPtr](../../system/rtaskptr/) -* Typedef [ArrayPtr](../../system/arrayptr/) +* Typedef [TaskPtr](../../system/taskptr/) * Typedef [SharedPtr](../../system/sharedptr/) * Class [IEnumerable](../../system.collections.generic/ienumerable/) * Namespace [System::Threading::Tasks](../) diff --git a/english/cpp/system.threading.tasks/whenany/_index.md b/english/cpp/system.threading.tasks/whenany/_index.md new file mode 100644 index 0000000000..47aa8796d4 --- /dev/null +++ b/english/cpp/system.threading.tasks/whenany/_index.md @@ -0,0 +1,117 @@ +--- +title: System::Threading::Tasks::WhenAny method +linktitle: WhenAny +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::Tasks::WhenAny method. Creates a task that will complete when any of the supplied tasks have completed in C++.' +type: docs +weight: 2800 +url: /cpp/system.threading.tasks/whenany/ +--- +## System::Threading::Tasks::WhenAny(const ArrayPtr\\>\&) method + + +Creates a task that will complete when any of the supplied tasks have completed. + +```cpp +template RTaskPtr> System::Threading::Tasks::WhenAny(const ArrayPtr> &tasks) +``` + + +| Parameter | Description | +| --- | --- | +| TResult | The type of the completed task's result. | + +| Parameter | Type | Description | +| --- | --- | --- | +| tasks | const ArrayPtr\\>\& | The tasks to wait on for completion. | + +### ReturnValue + +A task that returns the first completed task when any task completes. + +## See Also + +* Typedef [RTaskPtr](../../system/rtaskptr/) +* Typedef [ArrayPtr](../../system/arrayptr/) +* Namespace [System::Threading::Tasks](../) +* Library [Aspose.PDF for C++](../../) +## System::Threading::Tasks::WhenAny(const ArrayPtr\\&) method + + +Creates a task that will complete when any of the supplied tasks have completed. + +```cpp +RTaskPtr System::Threading::Tasks::WhenAny(const ArrayPtr &tasks) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| tasks | const ArrayPtr\\& | The tasks to wait on for completion. | + +### ReturnValue + +A task that represents the completion of one of the supplied tasks. + +## See Also + +* Typedef [RTaskPtr](../../system/rtaskptr/) +* Typedef [TaskPtr](../../system/taskptr/) +* Typedef [ArrayPtr](../../system/arrayptr/) +* Namespace [System::Threading::Tasks](../) +* Library [Aspose.PDF for C++](../../) +## System::Threading::Tasks::WhenAny(const SharedPtr\\>\>\&) method + + +Creates a task that will complete when any of the supplied tasks have completed. + +```cpp +template RTaskPtr> System::Threading::Tasks::WhenAny(const SharedPtr>> &tasks) +``` + + +| Parameter | Description | +| --- | --- | +| TResult | The type of the completed task's result. | + +| Parameter | Type | Description | +| --- | --- | --- | +| tasks | const SharedPtr\\>\>\& | The tasks to wait on for completion. | + +### ReturnValue + +A task that returns the first completed task when any task completes. + +## See Also + +* Typedef [RTaskPtr](../../system/rtaskptr/) +* Typedef [SharedPtr](../../system/sharedptr/) +* Class [IEnumerable](../../system.collections.generic/ienumerable/) +* Namespace [System::Threading::Tasks](../) +* Library [Aspose.PDF for C++](../../) +## System::Threading::Tasks::WhenAny(const SharedPtr\\>\&) method + + +Creates a task that will complete when any of the supplied tasks have completed. + +```cpp +RTaskPtr System::Threading::Tasks::WhenAny(const SharedPtr> &tasks) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| tasks | const SharedPtr\\>\& | The tasks to wait on for completion. | + +### ReturnValue + +A task that represents the completion of one of the supplied tasks. + +## See Also + +* Typedef [RTaskPtr](../../system/rtaskptr/) +* Typedef [TaskPtr](../../system/taskptr/) +* Typedef [SharedPtr](../../system/sharedptr/) +* Class [IEnumerable](../../system.collections.generic/ienumerable/) +* Namespace [System::Threading::Tasks](../) +* Library [Aspose.PDF for C++](../../) diff --git a/english/cpp/system.threading.tasks/yield/_index.md b/english/cpp/system.threading.tasks/yield/_index.md index 013d17042c..900654ce03 100644 --- a/english/cpp/system.threading.tasks/yield/_index.md +++ b/english/cpp/system.threading.tasks/yield/_index.md @@ -2,20 +2,29 @@ title: System::Threading::Tasks::Yield method linktitle: Yield second_title: Aspose.PDF for C++ API Reference -description: 'How to use Yield method of class in C++.' +description: 'System::Threading::Tasks::Yield method. Creates an awaitable task that asynchronously yields back to the current context when awaited in C++.' type: docs -weight: 2100 +weight: 3200 url: /cpp/system.threading.tasks/yield/ --- ## System::Threading::Tasks::Yield method - +Creates an awaitable task that asynchronously yields back to the current context when awaited. ```cpp Runtime::CompilerServices::YieldAwaitable System::Threading::Tasks::Yield() ``` + +### ReturnValue + +A YieldAwaitable that can be awaited to yield control. +## Remarks + + + +This method is useful for forcing an asynchronous method to yield control, allowing other pending work to be processed before continuing. ## See Also * Class [YieldAwaitable](../../system.runtime.compilerservices/yieldawaitable/) diff --git a/english/cpp/system.threading/synchronizationcontext/_index.md b/english/cpp/system.threading/synchronizationcontext/_index.md index 11d950669c..2cb5fb7dda 100644 --- a/english/cpp/system.threading/synchronizationcontext/_index.md +++ b/english/cpp/system.threading/synchronizationcontext/_index.md @@ -21,6 +21,8 @@ class SynchronizationContext : public System::Object | Method | Description | | --- | --- | | static [get_Current](./get_current/)() | Gets the synchronization context for the current thread. | +| virtual [Post](./post/)(SendOrPostCallback, SharedPtr\) | Runs callback asynchronously. | +| virtual [Send](./send/)(SendOrPostCallback, SharedPtr\) | Runs callback synchronously. | | static [SetSynchronizationContext](./setsynchronizationcontext/)(const SharedPtr\\&) | Sets the synchronization context for the current thread. | | [SynchronizationContext](./synchronizationcontext/)() | RTTI information. | ## Remarks diff --git a/english/cpp/system.threading/synchronizationcontext/get_current/_index.md b/english/cpp/system.threading/synchronizationcontext/get_current/_index.md index 7170dc24ab..60bc193f48 100644 --- a/english/cpp/system.threading/synchronizationcontext/get_current/_index.md +++ b/english/cpp/system.threading/synchronizationcontext/get_current/_index.md @@ -4,7 +4,7 @@ linktitle: get_Current second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::SynchronizationContext::get_Current method. Gets the synchronization context for the current thread in C++.' type: docs -weight: 200 +weight: 400 url: /cpp/system.threading/synchronizationcontext/get_current/ --- ## SynchronizationContext::get_Current method diff --git a/english/cpp/system.threading/synchronizationcontext/post/_index.md b/english/cpp/system.threading/synchronizationcontext/post/_index.md new file mode 100644 index 0000000000..5d7cc18259 --- /dev/null +++ b/english/cpp/system.threading/synchronizationcontext/post/_index.md @@ -0,0 +1,32 @@ +--- +title: System::Threading::SynchronizationContext::Post method +linktitle: Post +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::SynchronizationContext::Post method. Runs callback asynchronously in C++.' +type: docs +weight: 200 +url: /cpp/system.threading/synchronizationcontext/post/ +--- +## SynchronizationContext::Post method + + +Runs callback asynchronously. + +```cpp +virtual void System::Threading::SynchronizationContext::Post(SendOrPostCallback d, SharedPtr state) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| d | SendOrPostCallback | Callback to execute. | +| state | SharedPtr\ | [Object](../../../system/object/) to pass as callback argument. | + +## See Also + +* Typedef [SendOrPostCallback](../../sendorpostcallback/) +* Typedef [SharedPtr](../../../system/sharedptr/) +* Class [Object](../../../system/object/) +* Class [SynchronizationContext](../) +* Namespace [System::Threading](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading/synchronizationcontext/send/_index.md b/english/cpp/system.threading/synchronizationcontext/send/_index.md new file mode 100644 index 0000000000..6c73d3dd98 --- /dev/null +++ b/english/cpp/system.threading/synchronizationcontext/send/_index.md @@ -0,0 +1,37 @@ +--- +title: System::Threading::SynchronizationContext::Send method +linktitle: Send +second_title: Aspose.PDF for C++ API Reference +description: 'System::Threading::SynchronizationContext::Send method. Runs callback synchronously in C++.' +type: docs +weight: 300 +url: /cpp/system.threading/synchronizationcontext/send/ +--- +## SynchronizationContext::Send method + + +Runs callback synchronously. + +```cpp +virtual void System::Threading::SynchronizationContext::Send(SendOrPostCallback d, SharedPtr state) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| d | SendOrPostCallback | Callback to execute. | +| state | SharedPtr\ | [Object](../../../system/object/) to pass as callback argument. | +## Remarks + + + +Unimplemented. + +## See Also + +* Typedef [SendOrPostCallback](../../sendorpostcallback/) +* Typedef [SharedPtr](../../../system/sharedptr/) +* Class [Object](../../../system/object/) +* Class [SynchronizationContext](../) +* Namespace [System::Threading](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system.threading/synchronizationcontext/setsynchronizationcontext/_index.md b/english/cpp/system.threading/synchronizationcontext/setsynchronizationcontext/_index.md index 78de1d8371..cebfdacb7f 100644 --- a/english/cpp/system.threading/synchronizationcontext/setsynchronizationcontext/_index.md +++ b/english/cpp/system.threading/synchronizationcontext/setsynchronizationcontext/_index.md @@ -4,7 +4,7 @@ linktitle: SetSynchronizationContext second_title: Aspose.PDF for C++ API Reference description: 'System::Threading::SynchronizationContext::SetSynchronizationContext method. Sets the synchronization context for the current thread in C++.' type: docs -weight: 300 +weight: 500 url: /cpp/system.threading/synchronizationcontext/setsynchronizationcontext/ --- ## SynchronizationContext::SetSynchronizationContext method diff --git a/english/cpp/system/_index.md b/english/cpp/system/_index.md index c109b50f3a..cd20251fee 100644 --- a/english/cpp/system/_index.md +++ b/english/cpp/system/_index.md @@ -116,6 +116,7 @@ url: /cpp/system/ | Typedef | Description | | --- | --- | | [Action](./action/) | Delegate type that references methods that have no return value. | +| [AggregateException](./aggregateexception/) | | | [ArrayPtr](./arrayptr/) | Alias for 'pointer to array' type. | | [AsyncCallback](./asynccallback/) | A delegate type that represents a method to be called when asynchronous operation completes. | | [BadImageFormatException](./badimageformatexception/) | The exception that is thrown when the file image of a dynamic link library (DLL) or an executable program is invalid. Never wrap the [BadImageFormatException](./badimageformatexception/) class instances into [System::SmartPtr](./smartptr/). | diff --git a/english/cpp/system/aggregateexception/_index.md b/english/cpp/system/aggregateexception/_index.md new file mode 100644 index 0000000000..c302d0d209 --- /dev/null +++ b/english/cpp/system/aggregateexception/_index.md @@ -0,0 +1,22 @@ +--- +title: System::AggregateException typedef +linktitle: AggregateException +second_title: Aspose.PDF for C++ API Reference +description: 'How to use System::AggregateException typedef in C++.' +type: docs +weight: 9500 +url: /cpp/system/aggregateexception/ +--- +## AggregateException typedef + + + + +```cpp +using System::AggregateException = ExceptionWrapper +``` + +## See Also + +* Namespace [System](../) +* Library [Aspose.PDF for C++](../../) diff --git a/english/cpp/system/arrayptr/_index.md b/english/cpp/system/arrayptr/_index.md index 516b7ff624..677ef84471 100644 --- a/english/cpp/system/arrayptr/_index.md +++ b/english/cpp/system/arrayptr/_index.md @@ -4,7 +4,7 @@ linktitle: ArrayPtr second_title: Aspose.PDF for C++ API Reference description: 'System::ArrayPtr typedef. Alias for ''pointer to array'' type in C++.' type: docs -weight: 9500 +weight: 9600 url: /cpp/system/arrayptr/ --- ## ArrayPtr typedef diff --git a/english/cpp/system/ascast/_index.md b/english/cpp/system/ascast/_index.md index bd8450f074..dbb7d6d68a 100644 --- a/english/cpp/system/ascast/_index.md +++ b/english/cpp/system/ascast/_index.md @@ -4,7 +4,7 @@ linktitle: AsCast second_title: Aspose.PDF for C++ API Reference description: 'System::AsCast method. Casts the source type to the result type using ''as'' operator cast. Used when simple constructor-like cast is needed in C++.' type: docs -weight: 13500 +weight: 13600 url: /cpp/system/ascast/ --- ## System::AsCast(const Source\&) method diff --git a/english/cpp/system/asynccallback/_index.md b/english/cpp/system/asynccallback/_index.md index c46769e8d7..167dbcd682 100644 --- a/english/cpp/system/asynccallback/_index.md +++ b/english/cpp/system/asynccallback/_index.md @@ -4,7 +4,7 @@ linktitle: AsyncCallback second_title: Aspose.PDF for C++ API Reference description: 'System::AsyncCallback typedef. A delegate type that represents a method to be called when asynchronous operation completes in C++.' type: docs -weight: 9600 +weight: 9700 url: /cpp/system/asynccallback/ --- ## AsyncCallback typedef diff --git a/english/cpp/system/badimageformatexception/_index.md b/english/cpp/system/badimageformatexception/_index.md index 177a6fcd2c..4db03c601f 100644 --- a/english/cpp/system/badimageformatexception/_index.md +++ b/english/cpp/system/badimageformatexception/_index.md @@ -4,7 +4,7 @@ linktitle: BadImageFormatException second_title: Aspose.PDF for C++ API Reference description: 'System::BadImageFormatException typedef. The exception that is thrown when the file image of a dynamic link library (DLL) or an executable program is invalid. Never wrap the BadImageFormatException class instances into System::SmartPtr in C++.' type: docs -weight: 9700 +weight: 9800 url: /cpp/system/badimageformatexception/ --- ## BadImageFormatException typedef diff --git a/english/cpp/system/build/_index.md b/english/cpp/system/build/_index.md index b9303b69fd..553df308af 100644 --- a/english/cpp/system/build/_index.md +++ b/english/cpp/system/build/_index.md @@ -4,7 +4,7 @@ linktitle: Build second_title: Aspose.PDF for C++ API Reference description: 'System::Build method. Build an object with direct ownership in C++.' type: docs -weight: 15000 +weight: 15100 url: /cpp/system/build/ --- ## System::Build method diff --git a/english/cpp/system/buildarray/_index.md b/english/cpp/system/buildarray/_index.md index e58fcbeeda..fdfa681bdb 100644 --- a/english/cpp/system/buildarray/_index.md +++ b/english/cpp/system/buildarray/_index.md @@ -4,7 +4,7 @@ linktitle: BuildArray second_title: Aspose.PDF for C++ API Reference description: 'System::BuildArray method. Build an array in C++.' type: docs -weight: 15100 +weight: 15200 url: /cpp/system/buildarray/ --- ## System::BuildArray method diff --git a/english/cpp/system/buildobject/_index.md b/english/cpp/system/buildobject/_index.md index 599d3846d8..ff89f0b668 100644 --- a/english/cpp/system/buildobject/_index.md +++ b/english/cpp/system/buildobject/_index.md @@ -4,7 +4,7 @@ linktitle: BuildObject second_title: Aspose.PDF for C++ API Reference description: 'System::BuildObject method. Build an object with shared ownership in C++.' type: docs -weight: 15200 +weight: 15300 url: /cpp/system/buildobject/ --- ## System::BuildObject method diff --git a/english/cpp/system/bytearrayptr/_index.md b/english/cpp/system/bytearrayptr/_index.md index 70f788c3f7..a009179ad8 100644 --- a/english/cpp/system/bytearrayptr/_index.md +++ b/english/cpp/system/bytearrayptr/_index.md @@ -4,7 +4,7 @@ linktitle: ByteArrayPtr second_title: Aspose.PDF for C++ API Reference description: 'System::ByteArrayPtr typedef. An alias for a smart pointer object that points to an array of unsigned 8-bit integers in C++.' type: docs -weight: 9800 +weight: 9900 url: /cpp/system/bytearrayptr/ --- ## ByteArrayPtr typedef diff --git a/english/cpp/system/cast/_index.md b/english/cpp/system/cast/_index.md index b8ea2e223e..a1c6b85c77 100644 --- a/english/cpp/system/cast/_index.md +++ b/english/cpp/system/cast/_index.md @@ -4,7 +4,7 @@ linktitle: Cast second_title: Aspose.PDF for C++ API Reference description: 'System::Cast method. Performs cast on SmartPtr objects in C++.' type: docs -weight: 15300 +weight: 15400 url: /cpp/system/cast/ --- ## System::Cast method diff --git a/english/cpp/system/cast_noexcept/_index.md b/english/cpp/system/cast_noexcept/_index.md index 8bf4079ec8..2688e13821 100644 --- a/english/cpp/system/cast_noexcept/_index.md +++ b/english/cpp/system/cast_noexcept/_index.md @@ -4,7 +4,7 @@ linktitle: Cast_noexcept second_title: Aspose.PDF for C++ API Reference description: 'System::Cast_noexcept method. Performs cast on SmartPtr objects in C++.' type: docs -weight: 15400 +weight: 15500 url: /cpp/system/cast_noexcept/ --- ## System::Cast_noexcept method diff --git a/english/cpp/system/castenumerableto/_index.md b/english/cpp/system/castenumerableto/_index.md index 47b98b94bb..dcc30847c1 100644 --- a/english/cpp/system/castenumerableto/_index.md +++ b/english/cpp/system/castenumerableto/_index.md @@ -4,7 +4,7 @@ linktitle: CastEnumerableTo second_title: Aspose.PDF for C++ API Reference description: 'System::CastEnumerableTo method. Performs the explicit casting of elements of the specified enumerable object to different type in C++.' type: docs -weight: 15500 +weight: 15600 url: /cpp/system/castenumerableto/ --- ## System::CastEnumerableTo(const From\&) method diff --git a/english/cpp/system/checkedcast/_index.md b/english/cpp/system/checkedcast/_index.md index 554dbbda98..69cd52c243 100644 --- a/english/cpp/system/checkedcast/_index.md +++ b/english/cpp/system/checkedcast/_index.md @@ -4,7 +4,7 @@ linktitle: CheckedCast second_title: Aspose.PDF for C++ API Reference description: 'System::CheckedCast method. Determines if the specified value falls into the range of values of type TTo and if it does casts it to the type TTo in C++.' type: docs -weight: 15700 +weight: 15800 url: /cpp/system/checkedcast/ --- ## System::CheckedCast method diff --git a/english/cpp/system/compare/_index.md b/english/cpp/system/compare/_index.md index 5db7e088e4..d8ad5e4c38 100644 --- a/english/cpp/system/compare/_index.md +++ b/english/cpp/system/compare/_index.md @@ -4,7 +4,7 @@ linktitle: Compare second_title: Aspose.PDF for C++ API Reference description: 'System::Compare method. Compares two values in C++.' type: docs -weight: 15800 +weight: 15900 url: /cpp/system/compare/ --- ## System::Compare(const TA\&, const TB\&) method diff --git a/english/cpp/system/const_pointer_cast/_index.md b/english/cpp/system/const_pointer_cast/_index.md index 628245383a..2413ed2221 100644 --- a/english/cpp/system/const_pointer_cast/_index.md +++ b/english/cpp/system/const_pointer_cast/_index.md @@ -4,7 +4,7 @@ linktitle: const_pointer_cast second_title: Aspose.PDF for C++ API Reference description: 'System::const_pointer_cast method. Casts smart pointers using const_cast in C++.' type: docs -weight: 16000 +weight: 16100 url: /cpp/system/const_pointer_cast/ --- ## System::const_pointer_cast method diff --git a/english/cpp/system/constcast/_index.md b/english/cpp/system/constcast/_index.md index 00dd061360..8a08b1cf68 100644 --- a/english/cpp/system/constcast/_index.md +++ b/english/cpp/system/constcast/_index.md @@ -4,7 +4,7 @@ linktitle: ConstCast second_title: Aspose.PDF for C++ API Reference description: 'System::ConstCast method. End of deprecated casts in C++.' type: docs -weight: 16100 +weight: 16200 url: /cpp/system/constcast/ --- ## System::ConstCast method diff --git a/english/cpp/system/converter/_index.md b/english/cpp/system/converter/_index.md index 67897b3c36..17bbecedb0 100644 --- a/english/cpp/system/converter/_index.md +++ b/english/cpp/system/converter/_index.md @@ -4,7 +4,7 @@ linktitle: Converter second_title: Aspose.PDF for C++ API Reference description: 'System::Converter typedef. Represents a pointer to the invokable entity that accepts a single argument of the TInput type and returns a value of the TOutput type in C++.' type: docs -weight: 9900 +weight: 10000 url: /cpp/system/converter/ --- ## Converter typedef diff --git a/english/cpp/system/decoderfallbackbufferptr/_index.md b/english/cpp/system/decoderfallbackbufferptr/_index.md index 0ef2f95613..42f0ebc820 100644 --- a/english/cpp/system/decoderfallbackbufferptr/_index.md +++ b/english/cpp/system/decoderfallbackbufferptr/_index.md @@ -4,7 +4,7 @@ linktitle: DecoderFallbackBufferPtr second_title: Aspose.PDF for C++ API Reference description: 'System::DecoderFallbackBufferPtr typedef. An alias for a smart pointer that points to an instance of System::Text::DecoderFallbackBuffer class in C++.' type: docs -weight: 10000 +weight: 10100 url: /cpp/system/decoderfallbackbufferptr/ --- ## DecoderFallbackBufferPtr typedef diff --git a/english/cpp/system/decoderfallbackptr/_index.md b/english/cpp/system/decoderfallbackptr/_index.md index fe94da46f3..c6ec0007c3 100644 --- a/english/cpp/system/decoderfallbackptr/_index.md +++ b/english/cpp/system/decoderfallbackptr/_index.md @@ -4,7 +4,7 @@ linktitle: DecoderFallbackPtr second_title: Aspose.PDF for C++ API Reference description: 'System::DecoderFallbackPtr typedef. An alias for a smart pointer that points to an instance of System::Text::DecoderFallback class in C++.' type: docs -weight: 10100 +weight: 10200 url: /cpp/system/decoderfallbackptr/ --- ## DecoderFallbackPtr typedef diff --git a/english/cpp/system/decoderptr/_index.md b/english/cpp/system/decoderptr/_index.md index fc463d9831..ecc98056b1 100644 --- a/english/cpp/system/decoderptr/_index.md +++ b/english/cpp/system/decoderptr/_index.md @@ -4,7 +4,7 @@ linktitle: DecoderPtr second_title: Aspose.PDF for C++ API Reference description: 'System::DecoderPtr typedef. An alias for a smart pointer that points to an instance of System::Text::Decoder class in C++.' type: docs -weight: 10200 +weight: 10300 url: /cpp/system/decoderptr/ --- ## DecoderPtr typedef diff --git a/english/cpp/system/decoderreplacementfallbackptr/_index.md b/english/cpp/system/decoderreplacementfallbackptr/_index.md index a9b0d7a8e3..51092d9e92 100644 --- a/english/cpp/system/decoderreplacementfallbackptr/_index.md +++ b/english/cpp/system/decoderreplacementfallbackptr/_index.md @@ -4,7 +4,7 @@ linktitle: DecoderReplacementFallbackPtr second_title: Aspose.PDF for C++ API Reference description: 'System::DecoderReplacementFallbackPtr typedef. An alias for a smart pointer that points to an instance of System::Text::DecoderReplacementFallback class in C++.' type: docs -weight: 10300 +weight: 10400 url: /cpp/system/decoderreplacementfallbackptr/ --- ## DecoderReplacementFallbackPtr typedef diff --git a/english/cpp/system/default/_index.md b/english/cpp/system/default/_index.md index 1b242a2e74..8406810ff2 100644 --- a/english/cpp/system/default/_index.md +++ b/english/cpp/system/default/_index.md @@ -4,7 +4,7 @@ linktitle: Default second_title: Aspose.PDF for C++ API Reference description: 'System::Default method. Returns the reference to the single default-constructed instance of the exception type in C++.' type: docs -weight: 16200 +weight: 16300 url: /cpp/system/default/ --- ## System::Default() method diff --git a/english/cpp/system/directoryinfoptr/_index.md b/english/cpp/system/directoryinfoptr/_index.md index 364b79baf1..f321d499bd 100644 --- a/english/cpp/system/directoryinfoptr/_index.md +++ b/english/cpp/system/directoryinfoptr/_index.md @@ -4,7 +4,7 @@ linktitle: DirectoryInfoPtr second_title: Aspose.PDF for C++ API Reference description: 'System::DirectoryInfoPtr typedef. An alias for a smart pointer that points to an instance of System::IO::DirectoryInfo class in C++.' type: docs -weight: 10400 +weight: 10500 url: /cpp/system/directoryinfoptr/ --- ## DirectoryInfoPtr typedef diff --git a/english/cpp/system/discard/_index.md b/english/cpp/system/discard/_index.md index 41c2cc22d7..ab74bb0328 100644 --- a/english/cpp/system/discard/_index.md +++ b/english/cpp/system/discard/_index.md @@ -4,7 +4,7 @@ linktitle: Discard second_title: Aspose.PDF for C++ API Reference description: 'System::Discard method. Returns the default-constructed temporary instance of the specified type, which can be placed instead of discarding ''_'' argument in C++.' type: docs -weight: 16400 +weight: 16500 url: /cpp/system/discard/ --- ## System::Discard method diff --git a/english/cpp/system/dotryfinally/_index.md b/english/cpp/system/dotryfinally/_index.md index 618ffc8aec..a8fa4f3bb1 100644 --- a/english/cpp/system/dotryfinally/_index.md +++ b/english/cpp/system/dotryfinally/_index.md @@ -4,7 +4,7 @@ linktitle: DoTryFinally second_title: Aspose.PDF for C++ API Reference description: 'System::DoTryFinally method. The sigle function that emulates behavior of C#''s try[-catch]-finally statement. During translation of C#''s try[-catch]-finally statement with translator''s option finally_statement_as_lambda set to true, the statement is translated into the invocation of this method in C++.' type: docs -weight: 16500 +weight: 16600 url: /cpp/system/dotryfinally/ --- ## System::DoTryFinally(T\&&, F\&&) method diff --git a/english/cpp/system/dynamic_pointer_cast/_index.md b/english/cpp/system/dynamic_pointer_cast/_index.md index f588ef5840..fff595afc3 100644 --- a/english/cpp/system/dynamic_pointer_cast/_index.md +++ b/english/cpp/system/dynamic_pointer_cast/_index.md @@ -4,7 +4,7 @@ linktitle: dynamic_pointer_cast second_title: Aspose.PDF for C++ API Reference description: 'System::dynamic_pointer_cast method. Casts smart pointers using dynamic_cast in C++.' type: docs -weight: 16800 +weight: 16900 url: /cpp/system/dynamic_pointer_cast/ --- ## System::dynamic_pointer_cast method diff --git a/english/cpp/system/dynamiccast/_index.md b/english/cpp/system/dynamiccast/_index.md index a71f4b8899..2285e69164 100644 --- a/english/cpp/system/dynamiccast/_index.md +++ b/english/cpp/system/dynamiccast/_index.md @@ -4,7 +4,7 @@ linktitle: DynamicCast second_title: Aspose.PDF for C++ API Reference description: 'System::DynamicCast method. Performs dynamic cast on Exception objects in C++.' type: docs -weight: 16900 +weight: 17000 url: /cpp/system/dynamiccast/ --- ## System::DynamicCast(const TFrom\&) method diff --git a/english/cpp/system/dynamiccast_noexcept/_index.md b/english/cpp/system/dynamiccast_noexcept/_index.md index ee4e467090..d68d7b2727 100644 --- a/english/cpp/system/dynamiccast_noexcept/_index.md +++ b/english/cpp/system/dynamiccast_noexcept/_index.md @@ -4,7 +4,7 @@ linktitle: DynamicCast_noexcept second_title: Aspose.PDF for C++ API Reference description: 'System::DynamicCast_noexcept method. Old obsolete casts. Will be removed in future versions in C++.' type: docs -weight: 17600 +weight: 17700 url: /cpp/system/dynamiccast_noexcept/ --- ## System::DynamicCast_noexcept(const TFrom\&) method diff --git a/english/cpp/system/dynamiccastarray/_index.md b/english/cpp/system/dynamiccastarray/_index.md index 82d4c84b3d..81526d3dc2 100644 --- a/english/cpp/system/dynamiccastarray/_index.md +++ b/english/cpp/system/dynamiccastarray/_index.md @@ -4,7 +4,7 @@ linktitle: DynamicCastArray second_title: Aspose.PDF for C++ API Reference description: 'System::DynamicCastArray method. Performs casting of elements of the specified array to different type in C++.' type: docs -weight: 17900 +weight: 18000 url: /cpp/system/dynamiccastarray/ --- ## System::DynamicCastArray method diff --git a/english/cpp/system/encoderfallbackbufferptr/_index.md b/english/cpp/system/encoderfallbackbufferptr/_index.md index b38416a90a..81f45dedf8 100644 --- a/english/cpp/system/encoderfallbackbufferptr/_index.md +++ b/english/cpp/system/encoderfallbackbufferptr/_index.md @@ -4,7 +4,7 @@ linktitle: EncoderFallbackBufferPtr second_title: Aspose.PDF for C++ API Reference description: 'System::EncoderFallbackBufferPtr typedef. An alias for a smart pointer that points to an instance of System::Text::EncoderFallbackBuffer class in C++.' type: docs -weight: 10500 +weight: 10600 url: /cpp/system/encoderfallbackbufferptr/ --- ## EncoderFallbackBufferPtr typedef diff --git a/english/cpp/system/encoderfallbackptr/_index.md b/english/cpp/system/encoderfallbackptr/_index.md index 1a0a894870..f0c65562b9 100644 --- a/english/cpp/system/encoderfallbackptr/_index.md +++ b/english/cpp/system/encoderfallbackptr/_index.md @@ -4,7 +4,7 @@ linktitle: EncoderFallbackPtr second_title: Aspose.PDF for C++ API Reference description: 'System::EncoderFallbackPtr typedef. An alias for a smart pointer that points to an instance of System::Text::EncoderFallback class in C++.' type: docs -weight: 10600 +weight: 10700 url: /cpp/system/encoderfallbackptr/ --- ## EncoderFallbackPtr typedef diff --git a/english/cpp/system/encoderptr/_index.md b/english/cpp/system/encoderptr/_index.md index 8938558502..8c3eee31db 100644 --- a/english/cpp/system/encoderptr/_index.md +++ b/english/cpp/system/encoderptr/_index.md @@ -4,7 +4,7 @@ linktitle: EncoderPtr second_title: Aspose.PDF for C++ API Reference description: 'System::EncoderPtr typedef. An alias for a smart pointer that points to an instance of System::Text::Encoder class in C++.' type: docs -weight: 10700 +weight: 10800 url: /cpp/system/encoderptr/ --- ## EncoderPtr typedef diff --git a/english/cpp/system/encoderreplacementfallbackbufferptr/_index.md b/english/cpp/system/encoderreplacementfallbackbufferptr/_index.md index f365e238e7..1fd4f96383 100644 --- a/english/cpp/system/encoderreplacementfallbackbufferptr/_index.md +++ b/english/cpp/system/encoderreplacementfallbackbufferptr/_index.md @@ -4,7 +4,7 @@ linktitle: EncoderReplacementFallbackBufferPtr second_title: Aspose.PDF for C++ API Reference description: 'System::EncoderReplacementFallbackBufferPtr typedef. An alias for a smart pointer that points to an instance of System::Text::EncoderReplacementFallbackBuffer class in C++.' type: docs -weight: 10800 +weight: 10900 url: /cpp/system/encoderreplacementfallbackbufferptr/ --- ## EncoderReplacementFallbackBufferPtr typedef diff --git a/english/cpp/system/encoderreplacementfallbackptr/_index.md b/english/cpp/system/encoderreplacementfallbackptr/_index.md index 65e3453395..c678f8c6f5 100644 --- a/english/cpp/system/encoderreplacementfallbackptr/_index.md +++ b/english/cpp/system/encoderreplacementfallbackptr/_index.md @@ -4,7 +4,7 @@ linktitle: EncoderReplacementFallbackPtr second_title: Aspose.PDF for C++ API Reference description: 'System::EncoderReplacementFallbackPtr typedef. An alias for a smart pointer that points to an instance of System::Text::EncoderReplacementFallback class in C++.' type: docs -weight: 10900 +weight: 11000 url: /cpp/system/encoderreplacementfallbackptr/ --- ## EncoderReplacementFallbackPtr typedef diff --git a/english/cpp/system/encodinginfoptr/_index.md b/english/cpp/system/encodinginfoptr/_index.md index 5189b7c1ec..f64ad56653 100644 --- a/english/cpp/system/encodinginfoptr/_index.md +++ b/english/cpp/system/encodinginfoptr/_index.md @@ -4,7 +4,7 @@ linktitle: EncodingInfoPtr second_title: Aspose.PDF for C++ API Reference description: 'System::EncodingInfoPtr typedef. An alias for a smart pointer that points to an instance of System::Text::EncodingInfo class in C++.' type: docs -weight: 11000 +weight: 11100 url: /cpp/system/encodinginfoptr/ --- ## EncodingInfoPtr typedef diff --git a/english/cpp/system/encodingptr/_index.md b/english/cpp/system/encodingptr/_index.md index 8af9d22569..58341f6d4f 100644 --- a/english/cpp/system/encodingptr/_index.md +++ b/english/cpp/system/encodingptr/_index.md @@ -4,7 +4,7 @@ linktitle: EncodingPtr second_title: Aspose.PDF for C++ API Reference description: 'System::EncodingPtr typedef. An alias for a smart pointer that points to an instance of System::Text::Encoding class in C++.' type: docs -weight: 11100 +weight: 11200 url: /cpp/system/encodingptr/ --- ## EncodingPtr typedef diff --git a/english/cpp/system/enumgetname/_index.md b/english/cpp/system/enumgetname/_index.md index eb2c30bcd1..5e82aa908e 100644 --- a/english/cpp/system/enumgetname/_index.md +++ b/english/cpp/system/enumgetname/_index.md @@ -4,7 +4,7 @@ linktitle: EnumGetName second_title: Aspose.PDF for C++ API Reference description: 'How to use EnumGetName method of class in C++.' type: docs -weight: 18000 +weight: 18100 url: /cpp/system/enumgetname/ --- ## System::EnumGetName(T) method diff --git a/english/cpp/system/equals/_index.md b/english/cpp/system/equals/_index.md index cde70d8821..d951206258 100644 --- a/english/cpp/system/equals/_index.md +++ b/english/cpp/system/equals/_index.md @@ -4,7 +4,7 @@ linktitle: Equals second_title: Aspose.PDF for C++ API Reference description: 'System::Equals method. Determines the equality of two values applying operator==() to them in C++.' type: docs -weight: 18200 +weight: 18300 url: /cpp/system/equals/ --- ## System::Equals method diff --git a/english/cpp/system/equals_double,double_/_index.md b/english/cpp/system/equals_double,double_/_index.md index 10b58bfc13..b732dae1f7 100644 --- a/english/cpp/system/equals_double,double_/_index.md +++ b/english/cpp/system/equals_double,double_/_index.md @@ -4,7 +4,7 @@ linktitle: Equals< double, double > second_title: Aspose.PDF for C++ API Reference description: 'System::Equals< double, double > method. Specialization for double-precision floating point values in C++.' type: docs -weight: 18300 +weight: 18400 url: /cpp/system/equals_double,double_/ --- ## System::Equals< double, double > method diff --git a/english/cpp/system/equals_float,float_/_index.md b/english/cpp/system/equals_float,float_/_index.md index 4fa3e6b89c..acca1e6599 100644 --- a/english/cpp/system/equals_float,float_/_index.md +++ b/english/cpp/system/equals_float,float_/_index.md @@ -4,7 +4,7 @@ linktitle: Equals< float, float > second_title: Aspose.PDF for C++ API Reference description: 'System::Equals< float, float > method. Specialization for single-precision floating point values. Although two floating point NaNs are defined by IEC 60559:1989 to always compare as unequal, the contract for System.Object.Equals, requires that overrides must satisfy the requirements for an equivalence operator. Therefore, System.Double.Equals and System.Single.Equals return True when comparing two NaNs, while the equality operator returns False in that case, as required by the standard in C++.' type: docs -weight: 18400 +weight: 18500 url: /cpp/system/equals_float,float_/ --- ## System::Equals< float, float > method diff --git a/english/cpp/system/event/_index.md b/english/cpp/system/event/_index.md index 3462c1f440..e43b4e3f3e 100644 --- a/english/cpp/system/event/_index.md +++ b/english/cpp/system/event/_index.md @@ -4,7 +4,7 @@ linktitle: Event second_title: Aspose.PDF for C++ API Reference description: 'System::Event typedef. Represents an event - a mechanism through which subscribers are notified about an occurence of interest by means of a delegate invocation in C++.' type: docs -weight: 11200 +weight: 11300 url: /cpp/system/event/ --- ## Event typedef diff --git a/english/cpp/system/eventargsptr/_index.md b/english/cpp/system/eventargsptr/_index.md index 8fc58ae66e..07403a4b80 100644 --- a/english/cpp/system/eventargsptr/_index.md +++ b/english/cpp/system/eventargsptr/_index.md @@ -4,7 +4,7 @@ linktitle: EventArgsPtr second_title: Aspose.PDF for C++ API Reference description: 'System::EventArgsPtr typedef. Shared pointer to an instance of EventArgs class in C++.' type: docs -weight: 11300 +weight: 11400 url: /cpp/system/eventargsptr/ --- ## EventArgsPtr typedef diff --git a/english/cpp/system/eventhandler/_index.md b/english/cpp/system/eventhandler/_index.md index ac2ee94bf8..4f6002fd20 100644 --- a/english/cpp/system/eventhandler/_index.md +++ b/english/cpp/system/eventhandler/_index.md @@ -4,7 +4,7 @@ linktitle: EventHandler second_title: Aspose.PDF for C++ API Reference description: 'System::EventHandler typedef. Represents a method that reacts to and processes an event. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type in C++.' type: docs -weight: 11400 +weight: 11500 url: /cpp/system/eventhandler/ --- ## EventHandler typedef diff --git a/english/cpp/system/exception/_index.md b/english/cpp/system/exception/_index.md index 7190d8a35e..c274b68d2f 100644 --- a/english/cpp/system/exception/_index.md +++ b/english/cpp/system/exception/_index.md @@ -4,7 +4,7 @@ linktitle: Exception second_title: Aspose.PDF for C++ API Reference description: 'System::Exception typedef. Alias to be used instead of Details::Exception in C++.' type: docs -weight: 11500 +weight: 11600 url: /cpp/system/exception/ --- ## Exception typedef diff --git a/english/cpp/system/exceptionptr/_index.md b/english/cpp/system/exceptionptr/_index.md index a7386a6437..5d7123b18b 100644 --- a/english/cpp/system/exceptionptr/_index.md +++ b/english/cpp/system/exceptionptr/_index.md @@ -4,7 +4,7 @@ linktitle: ExceptionPtr second_title: Aspose.PDF for C++ API Reference description: 'System::ExceptionPtr typedef. Type alias used by exception wrappers in C++.' type: docs -weight: 11600 +weight: 11700 url: /cpp/system/exceptionptr/ --- ## ExceptionPtr typedef diff --git a/english/cpp/system/explicitcast/_index.md b/english/cpp/system/explicitcast/_index.md index 25508a7f49..5eb8139736 100644 --- a/english/cpp/system/explicitcast/_index.md +++ b/english/cpp/system/explicitcast/_index.md @@ -4,7 +4,7 @@ linktitle: ExplicitCast second_title: Aspose.PDF for C++ API Reference description: 'System::ExplicitCast method. Casts the source type to the result type using explicit cast. Used when the source and the result types are the same in C++.' type: docs -weight: 18500 +weight: 18600 url: /cpp/system/explicitcast/ --- ## System::ExplicitCast(const Source\&) method diff --git a/english/cpp/system/fileinfoptr/_index.md b/english/cpp/system/fileinfoptr/_index.md index b640065201..0e017bebe1 100644 --- a/english/cpp/system/fileinfoptr/_index.md +++ b/english/cpp/system/fileinfoptr/_index.md @@ -4,7 +4,7 @@ linktitle: FileInfoPtr second_title: Aspose.PDF for C++ API Reference description: 'System::FileInfoPtr typedef. An alias for a smart pointer that points to an instance of System::IO::FileInfo class in C++.' type: docs -weight: 11700 +weight: 11800 url: /cpp/system/fileinfoptr/ --- ## FileInfoPtr typedef diff --git a/english/cpp/system/filestreamptr/_index.md b/english/cpp/system/filestreamptr/_index.md index c26a1db76e..77edd2dd1f 100644 --- a/english/cpp/system/filestreamptr/_index.md +++ b/english/cpp/system/filestreamptr/_index.md @@ -4,7 +4,7 @@ linktitle: FileStreamPtr second_title: Aspose.PDF for C++ API Reference description: 'System::FileStreamPtr typedef. An alias for a smart pointer that points to an instance of System::IO::FileStream class in C++.' type: docs -weight: 11800 +weight: 11900 url: /cpp/system/filestreamptr/ --- ## FileStreamPtr typedef diff --git a/english/cpp/system/filesysteminfoptr/_index.md b/english/cpp/system/filesysteminfoptr/_index.md index 597be05efd..09567c90e6 100644 --- a/english/cpp/system/filesysteminfoptr/_index.md +++ b/english/cpp/system/filesysteminfoptr/_index.md @@ -4,7 +4,7 @@ linktitle: FileSystemInfoPtr second_title: Aspose.PDF for C++ API Reference description: 'System::FileSystemInfoPtr typedef. An alias for a smart pointer that points to an instance of System::IO::FileSystemInfo class in C++.' type: docs -weight: 11900 +weight: 12000 url: /cpp/system/filesysteminfoptr/ --- ## FileSystemInfoPtr typedef diff --git a/english/cpp/system/forcestaticcast/_index.md b/english/cpp/system/forcestaticcast/_index.md index dbd990a545..b25d0c67d7 100644 --- a/english/cpp/system/forcestaticcast/_index.md +++ b/english/cpp/system/forcestaticcast/_index.md @@ -4,7 +4,7 @@ linktitle: ForceStaticCast second_title: Aspose.PDF for C++ API Reference description: 'System::ForceStaticCast method. Performs real static cast on SmartPtr objects in C++.' type: docs -weight: 20400 +weight: 20500 url: /cpp/system/forcestaticcast/ --- ## System::ForceStaticCast method diff --git a/english/cpp/system/foreachmembergvname/_index.md b/english/cpp/system/foreachmembergvname/_index.md index 20fe10e830..f74a519286 100644 --- a/english/cpp/system/foreachmembergvname/_index.md +++ b/english/cpp/system/foreachmembergvname/_index.md @@ -4,7 +4,7 @@ linktitle: ForEachMemberGVName second_title: Aspose.PDF for C++ API Reference description: 'How to use ForEachMemberGVName method of class in C++.' type: docs -weight: 20500 +weight: 20600 url: /cpp/system/foreachmembergvname/ --- ## System::ForEachMemberGVName method diff --git a/english/cpp/system/functionptr/_index.md b/english/cpp/system/functionptr/_index.md index 5c5f896053..7c91314431 100644 --- a/english/cpp/system/functionptr/_index.md +++ b/english/cpp/system/functionptr/_index.md @@ -4,7 +4,7 @@ linktitle: FunctionPtr second_title: Aspose.PDF for C++ API Reference description: 'System::FunctionPtr typedef. An alias for function type with default calling convention in C++.' type: docs -weight: 12000 +weight: 12100 url: /cpp/system/functionptr/ --- ## FunctionPtr typedef diff --git a/english/cpp/system/gequal/_index.md b/english/cpp/system/gequal/_index.md index 201d4ea8f6..61b5f46dbe 100644 --- a/english/cpp/system/gequal/_index.md +++ b/english/cpp/system/gequal/_index.md @@ -4,7 +4,7 @@ linktitle: GEqual second_title: Aspose.PDF for C++ API Reference description: 'System::GEqual method. Implements ''>='' relative pattern translation in C++.' type: docs -weight: 20600 +weight: 20700 url: /cpp/system/gequal/ --- ## System::GEqual method diff --git a/english/cpp/system/get/_index.md b/english/cpp/system/get/_index.md index 92320efdc3..399123ae62 100644 --- a/english/cpp/system/get/_index.md +++ b/english/cpp/system/get/_index.md @@ -4,7 +4,7 @@ linktitle: Get second_title: Aspose.PDF for C++ API Reference description: 'System::Get method. Function to get N-th element of tuple given. Overload for base object in C++.' type: docs -weight: 20700 +weight: 20800 url: /cpp/system/get/ --- ## System::Get(const SharedPtr\\&) method diff --git a/english/cpp/system/get_pointer/_index.md b/english/cpp/system/get_pointer/_index.md index 34937bbc9c..1ebfb415b3 100644 --- a/english/cpp/system/get_pointer/_index.md +++ b/english/cpp/system/get_pointer/_index.md @@ -4,7 +4,7 @@ linktitle: get_pointer second_title: Aspose.PDF for C++ API Reference description: 'System::get_pointer method. Gets referenced object of smart pointer in C++.' type: docs -weight: 21100 +weight: 21200 url: /cpp/system/get_pointer/ --- ## System::get_pointer method diff --git a/english/cpp/system/gethashcode/_index.md b/english/cpp/system/gethashcode/_index.md index 0ff07f9b71..117ee23fea 100644 --- a/english/cpp/system/gethashcode/_index.md +++ b/english/cpp/system/gethashcode/_index.md @@ -4,7 +4,7 @@ linktitle: GetHashCode second_title: Aspose.PDF for C++ API Reference description: 'System::GetHashCode method. Specialization for std::thread::id; Returns the hash code for the specified thread object in C++.' type: docs -weight: 21200 +weight: 21300 url: /cpp/system/gethashcode/ --- ## System::GetHashCode(const std::thread::id\&) method diff --git a/english/cpp/system/greater/_index.md b/english/cpp/system/greater/_index.md index f87897230a..f8fc6d42ac 100644 --- a/english/cpp/system/greater/_index.md +++ b/english/cpp/system/greater/_index.md @@ -4,7 +4,7 @@ linktitle: Greater second_title: Aspose.PDF for C++ API Reference description: 'System::Greater method. Implements ''>'' relative pattern translation in C++.' type: docs -weight: 21700 +weight: 21800 url: /cpp/system/greater/ --- ## System::Greater method diff --git a/english/cpp/system/iasyncresultptr/_index.md b/english/cpp/system/iasyncresultptr/_index.md index 3cec4741d0..100f98f68e 100644 --- a/english/cpp/system/iasyncresultptr/_index.md +++ b/english/cpp/system/iasyncresultptr/_index.md @@ -4,7 +4,7 @@ linktitle: IAsyncResultPtr second_title: Aspose.PDF for C++ API Reference description: 'System::IAsyncResultPtr typedef. Shared pointer to IAsyncResult in C++.' type: docs -weight: 12100 +weight: 12200 url: /cpp/system/iasyncresultptr/ --- ## IAsyncResultPtr typedef diff --git a/english/cpp/system/iformatproviderptr/_index.md b/english/cpp/system/iformatproviderptr/_index.md index 529e25376e..3e8dbe08a7 100644 --- a/english/cpp/system/iformatproviderptr/_index.md +++ b/english/cpp/system/iformatproviderptr/_index.md @@ -4,7 +4,7 @@ linktitle: IFormatProviderPtr second_title: Aspose.PDF for C++ API Reference description: 'System::IFormatProviderPtr typedef. An alias for a smart pointer that points to an instance of System::IFormatProvider class in C++.' type: docs -weight: 12200 +weight: 12300 url: /cpp/system/iformatproviderptr/ --- ## IFormatProviderPtr typedef diff --git a/english/cpp/system/initobject/_index.md b/english/cpp/system/initobject/_index.md index 3b4380c207..51497048c4 100644 --- a/english/cpp/system/initobject/_index.md +++ b/english/cpp/system/initobject/_index.md @@ -4,7 +4,7 @@ linktitle: InitObject second_title: Aspose.PDF for C++ API Reference description: 'System::InitObject method. Starts initialization of an object with shared ownership in C++.' type: docs -weight: 21800 +weight: 21900 url: /cpp/system/initobject/ --- ## System::InitObject method diff --git a/english/cpp/system/is/_index.md b/english/cpp/system/is/_index.md index 7ddf839eb2..d6b50f2c1b 100644 --- a/english/cpp/system/is/_index.md +++ b/english/cpp/system/is/_index.md @@ -4,7 +4,7 @@ linktitle: Is second_title: Aspose.PDF for C++ API Reference description: 'System::Is method. Top-level matching function. Applies a pattern to a value in C++.' type: docs -weight: 21900 +weight: 22000 url: /cpp/system/is/ --- ## System::Is(const E\&, const A\&) method diff --git a/english/cpp/system/is_parametrized_test/_index.md b/english/cpp/system/is_parametrized_test/_index.md index 810be69979..822e20416e 100644 --- a/english/cpp/system/is_parametrized_test/_index.md +++ b/english/cpp/system/is_parametrized_test/_index.md @@ -4,7 +4,7 @@ linktitle: is_parametrized_test second_title: Aspose.PDF for C++ API Reference description: 'How to use is_parametrized_test method of class in C++.' type: docs -weight: 22200 +weight: 22300 url: /cpp/system/is_parametrized_test/ --- ## System::is_parametrized_test method diff --git a/english/cpp/system/is_vp_test/_index.md b/english/cpp/system/is_vp_test/_index.md index d44363b457..0fa7b513fb 100644 --- a/english/cpp/system/is_vp_test/_index.md +++ b/english/cpp/system/is_vp_test/_index.md @@ -4,7 +4,7 @@ linktitle: is_vp_test second_title: Aspose.PDF for C++ API Reference description: 'How to use is_vp_test method of class in C++.' type: docs -weight: 22300 +weight: 22400 url: /cpp/system/is_vp_test/ --- ## System::is_vp_test method diff --git a/english/cpp/system/isenummetainfodefined/_index.md b/english/cpp/system/isenummetainfodefined/_index.md index b91b781697..85407dd427 100644 --- a/english/cpp/system/isenummetainfodefined/_index.md +++ b/english/cpp/system/isenummetainfodefined/_index.md @@ -4,7 +4,7 @@ linktitle: IsEnumMetaInfoDefined second_title: Aspose.PDF for C++ API Reference description: 'How to use IsEnumMetaInfoDefined method of class in C++.' type: docs -weight: 22400 +weight: 22500 url: /cpp/system/isenummetainfodefined/ --- ## System::IsEnumMetaInfoDefined(T) method diff --git a/english/cpp/system/isinfinity/_index.md b/english/cpp/system/isinfinity/_index.md index c4eee76998..8c801b5568 100644 --- a/english/cpp/system/isinfinity/_index.md +++ b/english/cpp/system/isinfinity/_index.md @@ -4,7 +4,7 @@ linktitle: IsInfinity second_title: Aspose.PDF for C++ API Reference description: 'System::IsInfinity method. Determines if the specified value represents infinity in C++.' type: docs -weight: 22600 +weight: 22700 url: /cpp/system/isinfinity/ --- ## System::IsInfinity method diff --git a/english/cpp/system/isnan/_index.md b/english/cpp/system/isnan/_index.md index 3f6fdabba3..2cfab30b23 100644 --- a/english/cpp/system/isnan/_index.md +++ b/english/cpp/system/isnan/_index.md @@ -4,7 +4,7 @@ linktitle: IsNaN second_title: Aspose.PDF for C++ API Reference description: 'System::IsNaN method. Determines if the specified value is Not-A-Number value in C++.' type: docs -weight: 22700 +weight: 22800 url: /cpp/system/isnan/ --- ## System::IsNaN method diff --git a/english/cpp/system/isnegativeinfinity/_index.md b/english/cpp/system/isnegativeinfinity/_index.md index ffc2d41144..3582a667ff 100644 --- a/english/cpp/system/isnegativeinfinity/_index.md +++ b/english/cpp/system/isnegativeinfinity/_index.md @@ -4,7 +4,7 @@ linktitle: IsNegativeInfinity second_title: Aspose.PDF for C++ API Reference description: 'System::IsNegativeInfinity method. Determines if the specified value represents negative infinity in C++.' type: docs -weight: 22800 +weight: 22900 url: /cpp/system/isnegativeinfinity/ --- ## System::IsNegativeInfinity method diff --git a/english/cpp/system/ispositiveinfinity/_index.md b/english/cpp/system/ispositiveinfinity/_index.md index 2430add99a..9864dd9432 100644 --- a/english/cpp/system/ispositiveinfinity/_index.md +++ b/english/cpp/system/ispositiveinfinity/_index.md @@ -4,7 +4,7 @@ linktitle: IsPositiveInfinity second_title: Aspose.PDF for C++ API Reference description: 'System::IsPositiveInfinity method. Determines if the specified value represents positive infinity in C++.' type: docs -weight: 22900 +weight: 23000 url: /cpp/system/ispositiveinfinity/ --- ## System::IsPositiveInfinity method diff --git a/english/cpp/system/istuple/_index.md b/english/cpp/system/istuple/_index.md index 57da86a9c6..f33dcc12de 100644 --- a/english/cpp/system/istuple/_index.md +++ b/english/cpp/system/istuple/_index.md @@ -4,7 +4,7 @@ linktitle: IsTuple second_title: Aspose.PDF for C++ API Reference description: 'System::IsTuple method. Checks if object is tuple (implements ITuple interface). Used in positional pattern implementation in C++.' type: docs -weight: 23000 +weight: 23100 url: /cpp/system/istuple/ --- ## System::IsTuple method diff --git a/english/cpp/system/iterateover/_index.md b/english/cpp/system/iterateover/_index.md index c77f3ed7f1..34f9787231 100644 --- a/english/cpp/system/iterateover/_index.md +++ b/english/cpp/system/iterateover/_index.md @@ -4,7 +4,7 @@ linktitle: IterateOver second_title: Aspose.PDF for C++ API Reference description: 'System::IterateOver method. This function property wraps enumerable (or iterable) object so it can be used with range-based for loop This overload for Enumerable this with default target type in C++.' type: docs -weight: 23100 +weight: 23200 url: /cpp/system/iterateover/ --- ## System::IterateOver(const Enumerable *) method diff --git a/english/cpp/system/lequal/_index.md b/english/cpp/system/lequal/_index.md index e08f02580a..d7f1e0f781 100644 --- a/english/cpp/system/lequal/_index.md +++ b/english/cpp/system/lequal/_index.md @@ -4,7 +4,7 @@ linktitle: LEqual second_title: Aspose.PDF for C++ API Reference description: 'System::LEqual method. Implements ''<='' relative pattern translation in C++.' type: docs -weight: 23800 +weight: 23900 url: /cpp/system/lequal/ --- ## System::LEqual method diff --git a/english/cpp/system/less/_index.md b/english/cpp/system/less/_index.md index 9643d75c14..4a7a226be9 100644 --- a/english/cpp/system/less/_index.md +++ b/english/cpp/system/less/_index.md @@ -4,7 +4,7 @@ linktitle: Less second_title: Aspose.PDF for C++ API Reference description: 'System::Less method. Implements ''<'' relative pattern translation in C++.' type: docs -weight: 23900 +weight: 24000 url: /cpp/system/less/ --- ## System::Less method diff --git a/english/cpp/system/makearray/_index.md b/english/cpp/system/makearray/_index.md index a38a367fa6..fccd1d144b 100644 --- a/english/cpp/system/makearray/_index.md +++ b/english/cpp/system/makearray/_index.md @@ -4,7 +4,7 @@ linktitle: MakeArray second_title: Aspose.PDF for C++ API Reference description: 'System::MakeArray method. A factory function that constructs a new Array object passing the specified arguments to its constructor in C++.' type: docs -weight: 24000 +weight: 24100 url: /cpp/system/makearray/ --- ## System::MakeArray(Args\&&...) method diff --git a/english/cpp/system/makeasync/_index.md b/english/cpp/system/makeasync/_index.md index 4129d18441..49ef3e2929 100644 --- a/english/cpp/system/makeasync/_index.md +++ b/english/cpp/system/makeasync/_index.md @@ -4,7 +4,7 @@ linktitle: MakeAsync second_title: Aspose.PDF for C++ API Reference description: 'How to use MakeAsync method of class in C++.' type: docs -weight: 24300 +weight: 24400 url: /cpp/system/makeasync/ --- ## System::MakeAsync(const Details::AsyncFunction\&) method diff --git a/english/cpp/system/makeconstref_t/_index.md b/english/cpp/system/makeconstref_t/_index.md index 17467a1901..782d5be12a 100644 --- a/english/cpp/system/makeconstref_t/_index.md +++ b/english/cpp/system/makeconstref_t/_index.md @@ -4,7 +4,7 @@ linktitle: MakeConstRef_t second_title: Aspose.PDF for C++ API Reference description: 'System::MakeConstRef_t typedef. Helper type for MakeConstRef modifier in C++.' type: docs -weight: 12300 +weight: 12400 url: /cpp/system/makeconstref_t/ --- ## MakeConstRef_t typedef diff --git a/english/cpp/system/makeobject/_index.md b/english/cpp/system/makeobject/_index.md index a0df837faa..bd25de7555 100644 --- a/english/cpp/system/makeobject/_index.md +++ b/english/cpp/system/makeobject/_index.md @@ -4,7 +4,7 @@ linktitle: MakeObject second_title: Aspose.PDF for C++ API Reference description: 'System::MakeObject method. Creates object on heap and returns shared pointer to it in C++.' type: docs -weight: 24500 +weight: 24600 url: /cpp/system/makeobject/ --- ## System::MakeObject(Args\&&...) method diff --git a/english/cpp/system/makescopeguard/_index.md b/english/cpp/system/makescopeguard/_index.md index 485ba161fb..438bfa977f 100644 --- a/english/cpp/system/makescopeguard/_index.md +++ b/english/cpp/system/makescopeguard/_index.md @@ -4,7 +4,7 @@ linktitle: MakeScopeGuard second_title: Aspose.PDF for C++ API Reference description: 'System::MakeScopeGuard method. A factory function that creates instances of ScopedGuard class in C++.' type: docs -weight: 24700 +weight: 24800 url: /cpp/system/makescopeguard/ --- ## System::MakeScopeGuard method diff --git a/english/cpp/system/makesharedptr/_index.md b/english/cpp/system/makesharedptr/_index.md index 602f257c99..fa9b1e0fd5 100644 --- a/english/cpp/system/makesharedptr/_index.md +++ b/english/cpp/system/makesharedptr/_index.md @@ -4,7 +4,7 @@ linktitle: MakeSharedPtr second_title: Aspose.PDF for C++ API Reference description: 'System::MakeSharedPtr method. Converts raw pointer to smart pointer. Overload for const pointers. Useful e. g. when using ''this'' variable in C# methods translated as const in C++.' type: docs -weight: 24800 +weight: 24900 url: /cpp/system/makesharedptr/ --- ## System::MakeSharedPtr(const X *) method diff --git a/english/cpp/system/maketuple/_index.md b/english/cpp/system/maketuple/_index.md index a760ad5b28..21f899c4ae 100644 --- a/english/cpp/system/maketuple/_index.md +++ b/english/cpp/system/maketuple/_index.md @@ -4,7 +4,7 @@ linktitle: MakeTuple second_title: Aspose.PDF for C++ API Reference description: 'System::MakeTuple method. Creates tuple on stack in C++.' type: docs -weight: 25000 +weight: 25100 url: /cpp/system/maketuple/ --- ## System::MakeTuple method diff --git a/english/cpp/system/makevalueasync/_index.md b/english/cpp/system/makevalueasync/_index.md index 1780ed4591..001010dead 100644 --- a/english/cpp/system/makevalueasync/_index.md +++ b/english/cpp/system/makevalueasync/_index.md @@ -4,7 +4,7 @@ linktitle: MakeValueAsync second_title: Aspose.PDF for C++ API Reference description: 'How to use MakeValueAsync method of class in C++.' type: docs -weight: 25100 +weight: 25200 url: /cpp/system/makevalueasync/ --- ## System::MakeValueAsync(const Details::AsyncFunction\&) method diff --git a/english/cpp/system/makeyieldenumerable/_index.md b/english/cpp/system/makeyieldenumerable/_index.md index 9c2107b8c3..7a494b82f9 100644 --- a/english/cpp/system/makeyieldenumerable/_index.md +++ b/english/cpp/system/makeyieldenumerable/_index.md @@ -4,7 +4,7 @@ linktitle: MakeYieldEnumerable second_title: Aspose.PDF for C++ API Reference description: 'System::MakeYieldEnumerable method. Creates an IEnumerable from a yield function in C++.' type: docs -weight: 25300 +weight: 25400 url: /cpp/system/makeyieldenumerable/ --- ## System::MakeYieldEnumerable method diff --git a/english/cpp/system/makeyieldenumerator/_index.md b/english/cpp/system/makeyieldenumerator/_index.md index 634bb50d10..7ba7e9d010 100644 --- a/english/cpp/system/makeyieldenumerator/_index.md +++ b/english/cpp/system/makeyieldenumerator/_index.md @@ -4,7 +4,7 @@ linktitle: MakeYieldEnumerator second_title: Aspose.PDF for C++ API Reference description: 'System::MakeYieldEnumerator method. Creates an IEnumerator from a yield function in C++.' type: docs -weight: 25400 +weight: 25500 url: /cpp/system/makeyieldenumerator/ --- ## System::MakeYieldEnumerator method diff --git a/english/cpp/system/memberwiseclone/_index.md b/english/cpp/system/memberwiseclone/_index.md index 7d65c8021d..46dc9647f6 100644 --- a/english/cpp/system/memberwiseclone/_index.md +++ b/english/cpp/system/memberwiseclone/_index.md @@ -4,7 +4,7 @@ linktitle: MemberwiseClone second_title: Aspose.PDF for C++ API Reference description: 'System::MemberwiseClone method. Performs memberwise cloning using copy constructor in C++.' type: docs -weight: 25500 +weight: 25600 url: /cpp/system/memberwiseclone/ --- ## System::MemberwiseClone method diff --git a/english/cpp/system/memorystreamptr/_index.md b/english/cpp/system/memorystreamptr/_index.md index 927c67a2b9..84b42ee207 100644 --- a/english/cpp/system/memorystreamptr/_index.md +++ b/english/cpp/system/memorystreamptr/_index.md @@ -4,7 +4,7 @@ linktitle: MemoryStreamPtr second_title: Aspose.PDF for C++ API Reference description: 'System::MemoryStreamPtr typedef. An alias for a smart pointer that points to an instance of System::IO::MemoryStream class in C++.' type: docs -weight: 12400 +weight: 12500 url: /cpp/system/memorystreamptr/ --- ## MemoryStreamPtr typedef diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/_index.md index 9f73e294d7..0d3110b94d 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/_index.md @@ -38,6 +38,7 @@ templateclass MulticastDelegate< ReturnType(ArgumentT | [disconnect_all_slots](./disconnect_all_slots/)() | Removes all delegates from the delegate collection. | | [empty](./empty/)() const | Determines whether the delegate collection is empty. | | [EndInvoke](./endinvoke/)(const SharedPtr\\&) | NOT IMPLEMENTED. | +| [Equals](./equals/)(const MulticastDelegate\&) | | | [GetHashCode](./gethashcode/)() const | | | [GetType](./gettype/)() const | | | [invoke](./invoke/)(ArgumentTypes...) const | Invokes all delegates currently present in the delegates collection. Delegates are invoked in the same order as they were added to the collection. The method blocks while the delegates are executed. | diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/callback/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/callback/_index.md index 99e08e455d..b2cc4de4aa 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/callback/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/callback/_index.md @@ -4,7 +4,7 @@ linktitle: Callback second_title: Aspose.PDF for C++ API Reference description: 'System::MulticastDelegate< ReturnType(ArgumentTypes...)>::Callback typedef. The type of the delegates represented by the MulticastDelegate class in C++.' type: docs -weight: 2200 +weight: 2300 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/callback/ --- ## Callback typedef diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/equals/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/equals/_index.md new file mode 100644 index 0000000000..4a5385fdd4 --- /dev/null +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/equals/_index.md @@ -0,0 +1,23 @@ +--- +title: System::MulticastDelegate< ReturnType(ArgumentTypes...)>::Equals method +linktitle: Equals +second_title: Aspose.PDF for C++ API Reference +description: 'How to use Equals method of System::MulticastDelegate< ReturnType(ArgumentTypes...)> class in C++.' +type: docs +weight: 900 +url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/equals/ +--- +## MulticastDelegate< ReturnType(ArgumentTypes...)>::Equals method + + + + +```cpp +bool System::MulticastDelegate::Equals(const MulticastDelegate &other) +``` + +## See Also + +* Class [MulticastDelegate< ReturnType(ArgumentTypes...)>](../) +* Namespace [System](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/gethashcode/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/gethashcode/_index.md index 1413f99573..01a6b245cc 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/gethashcode/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/gethashcode/_index.md @@ -4,7 +4,7 @@ linktitle: GetHashCode second_title: Aspose.PDF for C++ API Reference description: 'How to use GetHashCode method of System::MulticastDelegate< ReturnType(ArgumentTypes...)> class in C++.' type: docs -weight: 900 +weight: 1000 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/gethashcode/ --- ## MulticastDelegate< ReturnType(ArgumentTypes...)>::GetHashCode method diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/gettype/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/gettype/_index.md index 673e8cb62e..7adfd3ee6b 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/gettype/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/gettype/_index.md @@ -4,7 +4,7 @@ linktitle: GetType second_title: Aspose.PDF for C++ API Reference description: 'How to use GetType method of System::MulticastDelegate< ReturnType(ArgumentTypes...)> class in C++.' type: docs -weight: 1000 +weight: 1100 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/gettype/ --- ## MulticastDelegate< ReturnType(ArgumentTypes...)>::GetType method diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/invoke/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/invoke/_index.md index 9d8bde0956..9d16c64e35 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/invoke/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/invoke/_index.md @@ -4,7 +4,7 @@ linktitle: invoke second_title: Aspose.PDF for C++ API Reference description: 'System::MulticastDelegate< ReturnType(ArgumentTypes...)>::invoke method. Invokes all delegates currently present in the delegates collection. Delegates are invoked in the same order as they were added to the collection. The method blocks while the delegates are executed in C++.' type: docs -weight: 1100 +weight: 1200 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/invoke/ --- ## MulticastDelegate< ReturnType(ArgumentTypes...)>::invoke method diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/isnull/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/isnull/_index.md index 3e571d0fca..3c86b79994 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/isnull/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/isnull/_index.md @@ -4,7 +4,7 @@ linktitle: IsNull second_title: Aspose.PDF for C++ API Reference description: 'System::MulticastDelegate< ReturnType(ArgumentTypes...)>::IsNull method. Determines whether the delegate collection is empty in C++.' type: docs -weight: 1200 +weight: 1300 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/isnull/ --- ## MulticastDelegate< ReturnType(ArgumentTypes...)>::IsNull method diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator!=/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator!=/_index.md index ee794f8958..32bd01b288 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator!=/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator!=/_index.md @@ -4,7 +4,7 @@ linktitle: operator!= second_title: Aspose.PDF for C++ API Reference description: 'System::MulticastDelegate< ReturnType(ArgumentTypes...)>::operator!= method. Determines whether two instances of MulticastDelegate - the current object and the specified object - are inequal in C++.' type: docs -weight: 1300 +weight: 1400 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator!=/ --- ## MulticastDelegate< ReturnType(ArgumentTypes...)>::operator!=(const MulticastDelegate\&) const method diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator()/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator()/_index.md index 1d1807425c..b05d89743a 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator()/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator()/_index.md @@ -4,7 +4,7 @@ linktitle: operator() second_title: Aspose.PDF for C++ API Reference description: 'System::MulticastDelegate< ReturnType(ArgumentTypes...)>::operator() method. Invokes all delegates currently present in the delegates collection. Delegates are invoked in the same order as they were added to the collection. The operator blocks while the delegates are executed in C++.' type: docs -weight: 1400 +weight: 1500 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator()/ --- ## MulticastDelegate< ReturnType(ArgumentTypes...)>::operator() method diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator+=/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator+=/_index.md index a9c3dda075..d9e7240ee6 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator+=/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator+=/_index.md @@ -4,7 +4,7 @@ linktitle: operator+= second_title: Aspose.PDF for C++ API Reference description: 'System::MulticastDelegate< ReturnType(ArgumentTypes...)>::operator+= method. Adds the specified delegate to the collection in C++.' type: docs -weight: 1500 +weight: 1600 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator+=/ --- ## MulticastDelegate< ReturnType(ArgumentTypes...)>::operator+= method diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator-=/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator-=/_index.md index e16528748d..a39566c0dd 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator-=/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator-=/_index.md @@ -4,7 +4,7 @@ linktitle: operator-= second_title: Aspose.PDF for C++ API Reference description: 'System::MulticastDelegate< ReturnType(ArgumentTypes...)>::operator-= method. Removes the specified delegate from the delegate collection in C++.' type: docs -weight: 1600 +weight: 1700 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator-=/ --- ## MulticastDelegate< ReturnType(ArgumentTypes...)>::operator-= method diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator=/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator=/_index.md index 4a639cc287..dcad09f025 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator=/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator=/_index.md @@ -4,7 +4,7 @@ linktitle: operator= second_title: Aspose.PDF for C++ API Reference description: 'System::MulticastDelegate< ReturnType(ArgumentTypes...)>::operator= method. Assigns the collection of delegates represented by the specified object to the current object. As a result both objects point to the same collection of delegates in C++.' type: docs -weight: 1700 +weight: 1800 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator=/ --- ## MulticastDelegate< ReturnType(ArgumentTypes...)>::operator=(const MulticastDelegate\&) method diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator==/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator==/_index.md index c6660ad449..c923a68499 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator==/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator==/_index.md @@ -4,7 +4,7 @@ linktitle: operator== second_title: Aspose.PDF for C++ API Reference description: 'System::MulticastDelegate< ReturnType(ArgumentTypes...)>::operator== method. Determines whether two instances of MulticastDelegate - the current object and the specified object - are equal in C++.' type: docs -weight: 1800 +weight: 1900 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/operator==/ --- ## MulticastDelegate< ReturnType(ArgumentTypes...)>::operator==(const MulticastDelegate\&) const method diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/remove_empty_callbacks/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/remove_empty_callbacks/_index.md index 9d9fbd9a8e..4a70e231e6 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/remove_empty_callbacks/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/remove_empty_callbacks/_index.md @@ -4,7 +4,7 @@ linktitle: remove_empty_callbacks second_title: Aspose.PDF for C++ API Reference description: 'System::MulticastDelegate< ReturnType(ArgumentTypes...)>::remove_empty_callbacks method. Cleans out contained callbacks that are empty (not actually calling anything) in C++.' type: docs -weight: 1900 +weight: 2000 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/remove_empty_callbacks/ --- ## MulticastDelegate< ReturnType(ArgumentTypes...)>::remove_empty_callbacks method diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/tostring/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/tostring/_index.md index 51bc8b8065..cafceaa321 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/tostring/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/tostring/_index.md @@ -4,7 +4,7 @@ linktitle: ToString second_title: Aspose.PDF for C++ API Reference description: 'How to use ToString method of System::MulticastDelegate< ReturnType(ArgumentTypes...)> class in C++.' type: docs -weight: 2000 +weight: 2100 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/tostring/ --- ## MulticastDelegate< ReturnType(ArgumentTypes...)>::ToString method diff --git a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/type/_index.md b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/type/_index.md index dc5123070f..221a0b50a9 100644 --- a/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/type/_index.md +++ b/english/cpp/system/multicastdelegate_returntype(argumenttypes...)_/type/_index.md @@ -4,7 +4,7 @@ linktitle: Type second_title: Aspose.PDF for C++ API Reference description: 'System::MulticastDelegate< ReturnType(ArgumentTypes...)>::Type method. Returns a reference to the TypeInfo object representing the MulticastDelegate class type information in C++.' type: docs -weight: 2100 +weight: 2200 url: /cpp/system/multicastdelegate_returntype(argumenttypes...)_/type/ --- ## MulticastDelegate< ReturnType(ArgumentTypes...)>::Type method diff --git a/english/cpp/system/nullable/_index.md b/english/cpp/system/nullable/_index.md index 24879fd1e4..7ba5ba8268 100644 --- a/english/cpp/system/nullable/_index.md +++ b/english/cpp/system/nullable/_index.md @@ -73,6 +73,7 @@ templateclass Nullable | [operator>=](./operator_=/)(const Nullable\\&) const | Determines if the value represented by the current object is greater or equal to the value represented by the specified [Nullable](./) object by applying [operator>=()](./operator_=/) to these values. | | [operator|=](./operator_=/)(bool) | Applies [operator|=()](./operator_=/) to the value represented by the current object using the specified value as a right-side argument. | | [reset](./reset/)() | Sets the currently represented value to null. | +| [set_Value](./set_value/)(const T\&) | Sets a new value to nullable object. | | [ToString](./tostring/)() const | Converts the value represented by the current object to string. | ## Typedefs diff --git a/english/cpp/system/nullable/set_value/_index.md b/english/cpp/system/nullable/set_value/_index.md new file mode 100644 index 0000000000..998be81808 --- /dev/null +++ b/english/cpp/system/nullable/set_value/_index.md @@ -0,0 +1,28 @@ +--- +title: System::Nullable::set_Value method +linktitle: set_Value +second_title: Aspose.PDF for C++ API Reference +description: 'System::Nullable::set_Value method. Sets a new value to nullable object in C++.' +type: docs +weight: 2400 +url: /cpp/system/nullable/set_value/ +--- +## Nullable::set_Value method + + +Sets a new value to nullable object. + +```cpp +void System::Nullable::set_Value(const T &value) +``` + + +| Parameter | Type | Description | +| --- | --- | --- | +| value | const T\& | New value of nullable | + +## See Also + +* Class [Nullable](../) +* Namespace [System](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system/nullable/tostring/_index.md b/english/cpp/system/nullable/tostring/_index.md index 9bbee6fe2d..e33415679a 100644 --- a/english/cpp/system/nullable/tostring/_index.md +++ b/english/cpp/system/nullable/tostring/_index.md @@ -4,7 +4,7 @@ linktitle: ToString second_title: Aspose.PDF for C++ API Reference description: 'System::Nullable::ToString method. Converts the value represented by the current object to string in C++.' type: docs -weight: 2400 +weight: 2500 url: /cpp/system/nullable/tostring/ --- ## Nullable::ToString method diff --git a/english/cpp/system/nullable/valuetype/_index.md b/english/cpp/system/nullable/valuetype/_index.md index 9fe6afdf9c..faec1a6c57 100644 --- a/english/cpp/system/nullable/valuetype/_index.md +++ b/english/cpp/system/nullable/valuetype/_index.md @@ -4,7 +4,7 @@ linktitle: ValueType second_title: Aspose.PDF for C++ API Reference description: 'System::Nullable::ValueType typedef. An alias for a type of the value represented by this class in C++.' type: docs -weight: 2500 +weight: 2600 url: /cpp/system/nullable/valuetype/ --- ## ValueType typedef diff --git a/english/cpp/system/objectext/_index.md b/english/cpp/system/objectext/_index.md index 501751c23f..0f0f48e7fc 100644 --- a/english/cpp/system/objectext/_index.md +++ b/english/cpp/system/objectext/_index.md @@ -29,6 +29,7 @@ class ObjectExt : public System::ObjectType | static [CastToIList](./casttoilist/)(const SmartPtr\\&) | | | static [Coalesce](./coalesce/)(T0, T1) | Implementation of '??' operator translation for non-nullable types. | | static [Coalesce](./coalesce/)(System::Nullable\, T1) | Implementation of '??' operator translation for nullable types. | +| static [CoalesceAssign](./coalesceassign/)(T0\&, T1) | Implementation of '??=' operator translation. | | static [CoalesceInternal](./coalesceinternal/)(RT1, F) | Implementation of '??' operator translation for non-nullable types. Overload for case if RT2 is convertable to RT1. | | static [Equals](./equals/)(const T\&, const T2\&) | | | static [Equals](./equals/)(const T\&, const T2\&) | Substitution for C# [Object.Equals](../object/equals/) calls working for any type in C++. Overload for smart pointer types. | diff --git a/english/cpp/system/objectext/coalesceassign/_index.md b/english/cpp/system/objectext/coalesceassign/_index.md new file mode 100644 index 0000000000..820cbc3b10 --- /dev/null +++ b/english/cpp/system/objectext/coalesceassign/_index.md @@ -0,0 +1,38 @@ +--- +title: System::ObjectExt::CoalesceAssign method +linktitle: CoalesceAssign +second_title: Aspose.PDF for C++ API Reference +description: 'System::ObjectExt::CoalesceAssign method. Implementation of ''??='' operator translation in C++.' +type: docs +weight: 600 +url: /cpp/system/objectext/coalesceassign/ +--- +## ObjectExt::CoalesceAssign method + + +Implementation of '??=' operator translation. + +```cpp +template static T0 & System::ObjectExt::CoalesceAssign(T0 &value, T1 func) +``` + + +| Parameter | Description | +| --- | --- | +| T0 | LHS value type. | +| T1 | Type of lambda encapsulating RHS expression. | + +| Parameter | Type | Description | +| --- | --- | --- | +| value | T0\& | LHS value. | +| func | T1 | RHS expression. | + +### ReturnValue + +If LHS value is not null, returns LHS, otherwise calculates RHS expression and returns result. + +## See Also + +* Class [ObjectExt](../) +* Namespace [System](../../) +* Library [Aspose.PDF for C++](../../../) diff --git a/english/cpp/system/objectext/coalesceinternal/_index.md b/english/cpp/system/objectext/coalesceinternal/_index.md index fd3c64eb2f..a64aee7386 100644 --- a/english/cpp/system/objectext/coalesceinternal/_index.md +++ b/english/cpp/system/objectext/coalesceinternal/_index.md @@ -4,7 +4,7 @@ linktitle: CoalesceInternal second_title: Aspose.PDF for C++ API Reference description: 'System::ObjectExt::CoalesceInternal method. Implementation of ''??'' operator translation for non-nullable types. Overload for case if RT2 is convertable to RT1 in C++.' type: docs -weight: 600 +weight: 700 url: /cpp/system/objectext/coalesceinternal/ --- ## ObjectExt::CoalesceInternal method diff --git a/english/cpp/system/objectext/equals/_index.md b/english/cpp/system/objectext/equals/_index.md index 07e93f2aa7..e12c534288 100644 --- a/english/cpp/system/objectext/equals/_index.md +++ b/english/cpp/system/objectext/equals/_index.md @@ -4,7 +4,7 @@ linktitle: Equals second_title: Aspose.PDF for C++ API Reference description: 'System::ObjectExt::Equals method. Substitution for C# Object.Equals calls working for any type in C++. Overload for string literal with string comparison in C++.' type: docs -weight: 700 +weight: 800 url: /cpp/system/objectext/equals/ --- ## ObjectExt::Equals(const char_t(&), String) method diff --git a/english/cpp/system/objectext/explicitcasttoobject/_index.md b/english/cpp/system/objectext/explicitcasttoobject/_index.md index 7b5f597c41..d08704f8b2 100644 --- a/english/cpp/system/objectext/explicitcasttoobject/_index.md +++ b/english/cpp/system/objectext/explicitcasttoobject/_index.md @@ -4,7 +4,7 @@ linktitle: ExplicitCastToObject second_title: Aspose.PDF for C++ API Reference description: 'How to use ExplicitCastToObject method of System::ObjectExt class in C++.' type: docs -weight: 800 +weight: 900 url: /cpp/system/objectext/explicitcasttoobject/ --- ## ObjectExt::ExplicitCastToObject(const T\&) method diff --git a/english/cpp/system/objectext/gethashcode/_index.md b/english/cpp/system/objectext/gethashcode/_index.md index 5ef508473b..fde5cdaf9f 100644 --- a/english/cpp/system/objectext/gethashcode/_index.md +++ b/english/cpp/system/objectext/gethashcode/_index.md @@ -4,7 +4,7 @@ linktitle: GetHashCode second_title: Aspose.PDF for C++ API Reference description: 'System::ObjectExt::GetHashCode method. Implements GetHashCode() calls; works on both Object subclasses and unrelated types in C++.' type: docs -weight: 900 +weight: 1000 url: /cpp/system/objectext/gethashcode/ --- ## ObjectExt::GetHashCode method diff --git a/english/cpp/system/objectext/is/_index.md b/english/cpp/system/objectext/is/_index.md index 06193e3d53..b67c31d9e8 100644 --- a/english/cpp/system/objectext/is/_index.md +++ b/english/cpp/system/objectext/is/_index.md @@ -4,7 +4,7 @@ linktitle: Is second_title: Aspose.PDF for C++ API Reference description: 'System::ObjectExt::Is method. Implements ''is'' operator translation. Specialization for string literal in C++.' type: docs -weight: 1000 +weight: 1100 url: /cpp/system/objectext/is/ --- ## ObjectExt::Is(const char16_t *) method diff --git a/english/cpp/system/objectext/isboxedvalue/_index.md b/english/cpp/system/objectext/isboxedvalue/_index.md index 58ef30ce6a..ce52e7ae63 100644 --- a/english/cpp/system/objectext/isboxedvalue/_index.md +++ b/english/cpp/system/objectext/isboxedvalue/_index.md @@ -4,7 +4,7 @@ linktitle: IsBoxedValue second_title: Aspose.PDF for C++ API Reference description: 'System::ObjectExt::IsBoxedValue method. Checks if object is a boxed value in C++.' type: docs -weight: 1100 +weight: 1200 url: /cpp/system/objectext/isboxedvalue/ --- ## ObjectExt::IsBoxedValue method diff --git a/english/cpp/system/objectext/objecttounknown/_index.md b/english/cpp/system/objectext/objecttounknown/_index.md index 860c19c2c6..a145e2bc1b 100644 --- a/english/cpp/system/objectext/objecttounknown/_index.md +++ b/english/cpp/system/objectext/objecttounknown/_index.md @@ -4,7 +4,7 @@ linktitle: ObjectToUnknown second_title: Aspose.PDF for C++ API Reference description: 'System::ObjectExt::ObjectToUnknown method. Converts Object to unknown type, handling both smart pointer type and bpxed value situations in C++.' type: docs -weight: 1200 +weight: 1300 url: /cpp/system/objectext/objecttounknown/ --- ## ObjectExt::ObjectToUnknown(SmartPtr\) method diff --git a/english/cpp/system/objectext/tostring/_index.md b/english/cpp/system/objectext/tostring/_index.md index 7660da3054..e1964bb42d 100644 --- a/english/cpp/system/objectext/tostring/_index.md +++ b/english/cpp/system/objectext/tostring/_index.md @@ -4,7 +4,7 @@ linktitle: ToString second_title: Aspose.PDF for C++ API Reference description: 'System::ObjectExt::ToString method. Substitution for C# ToString method to work on any C++ type in C++.' type: docs -weight: 1300 +weight: 1400 url: /cpp/system/objectext/tostring/ --- ## ObjectExt::ToString(const char_t *) method diff --git a/english/cpp/system/objectext/unbox/_index.md b/english/cpp/system/objectext/unbox/_index.md index 72b4e761c0..3aa0e641cf 100644 --- a/english/cpp/system/objectext/unbox/_index.md +++ b/english/cpp/system/objectext/unbox/_index.md @@ -4,7 +4,7 @@ linktitle: Unbox second_title: Aspose.PDF for C++ API Reference description: 'System::ObjectExt::Unbox method. Unboxes value types after converting to Object. Implementation for enum types in C++.' type: docs -weight: 1400 +weight: 1500 url: /cpp/system/objectext/unbox/ --- ## ObjectExt::Unbox(const SmartPtr\\&) method diff --git a/english/cpp/system/objectext/unboxstringsafe/_index.md b/english/cpp/system/objectext/unboxstringsafe/_index.md index adfaabb35d..b3a8dbbce1 100644 --- a/english/cpp/system/objectext/unboxstringsafe/_index.md +++ b/english/cpp/system/objectext/unboxstringsafe/_index.md @@ -4,7 +4,7 @@ linktitle: UnboxStringSafe second_title: Aspose.PDF for C++ API Reference description: 'System::ObjectExt::UnboxStringSafe method. Unboxes string from boxed value in C++.' type: docs -weight: 1500 +weight: 1600 url: /cpp/system/objectext/unboxstringsafe/ --- ## ObjectExt::UnboxStringSafe method diff --git a/english/cpp/system/objectext/unboxtonullable/_index.md b/english/cpp/system/objectext/unboxtonullable/_index.md index a822a5085a..ba7cf98418 100644 --- a/english/cpp/system/objectext/unboxtonullable/_index.md +++ b/english/cpp/system/objectext/unboxtonullable/_index.md @@ -4,7 +4,7 @@ linktitle: UnboxToNullable second_title: Aspose.PDF for C++ API Reference description: 'System::ObjectExt::UnboxToNullable method. Unboxes object to nullable type in C++.' type: docs -weight: 1600 +weight: 1700 url: /cpp/system/objectext/unboxtonullable/ --- ## ObjectExt::UnboxToNullable method diff --git a/english/cpp/system/objectext/unknownisnull/_index.md b/english/cpp/system/objectext/unknownisnull/_index.md index 57b4f6a3fb..27d56cd103 100644 --- a/english/cpp/system/objectext/unknownisnull/_index.md +++ b/english/cpp/system/objectext/unknownisnull/_index.md @@ -4,7 +4,7 @@ linktitle: UnknownIsNull second_title: Aspose.PDF for C++ API Reference description: 'System::ObjectExt::UnknownIsNull method. Checks whether unknown type object is nullptr. Overload for non-scalar types in C++.' type: docs -weight: 1700 +weight: 1800 url: /cpp/system/objectext/unknownisnull/ --- ## ObjectExt::UnknownIsNull(T) method diff --git a/english/cpp/system/objectext/unknowntoobject/_index.md b/english/cpp/system/objectext/unknowntoobject/_index.md index 1ce53ba6c5..5ed4101ed8 100644 --- a/english/cpp/system/objectext/unknowntoobject/_index.md +++ b/english/cpp/system/objectext/unknowntoobject/_index.md @@ -4,7 +4,7 @@ linktitle: UnknownToObject second_title: Aspose.PDF for C++ API Reference description: 'System::ObjectExt::UnknownToObject method. Converts unknown type to Object, handling both smart pointer type and value type situations in C++.' type: docs -weight: 1800 +weight: 1900 url: /cpp/system/objectext/unknowntoobject/ --- ## ObjectExt::UnknownToObject(const T\&) method diff --git a/english/cpp/system/objecttype.gettype_system.datetime_/_index.md b/english/cpp/system/objecttype.gettype_system.datetime_/_index.md index eddb9c0ff1..118ee4e9db 100644 --- a/english/cpp/system/objecttype.gettype_system.datetime_/_index.md +++ b/english/cpp/system/objecttype.gettype_system.datetime_/_index.md @@ -4,7 +4,7 @@ linktitle: ObjectType::GetType< System::DateTime > second_title: Aspose.PDF for C++ API Reference description: 'System::GetType< System::DateTime > method. Implements typeof() translation. Overload for DateTime in C++.' type: docs -weight: 25600 +weight: 25700 url: /cpp/system/objecttype.gettype_system.datetime_/ --- ## System::ObjectType::GetType< System::DateTime > method diff --git a/english/cpp/system/objecttype.gettype_system.string_/_index.md b/english/cpp/system/objecttype.gettype_system.string_/_index.md index 2ec97fea01..63240b0765 100644 --- a/english/cpp/system/objecttype.gettype_system.string_/_index.md +++ b/english/cpp/system/objecttype.gettype_system.string_/_index.md @@ -4,7 +4,7 @@ linktitle: ObjectType::GetType< System::String > second_title: Aspose.PDF for C++ API Reference description: 'System::GetType< System::String > method. Implements typeof() translation. Overload for String in C++.' type: docs -weight: 25700 +weight: 25800 url: /cpp/system/objecttype.gettype_system.string_/ --- ## System::ObjectType::GetType< System::String > method diff --git a/english/cpp/system/operator!=/_index.md b/english/cpp/system/operator!=/_index.md index 3e2ca443c7..eee6ee60ea 100644 --- a/english/cpp/system/operator!=/_index.md +++ b/english/cpp/system/operator!=/_index.md @@ -4,7 +4,7 @@ linktitle: operator!= second_title: Aspose.PDF for C++ API Reference description: 'How to use operator!= method of class in C++.' type: docs -weight: 25800 +weight: 25900 url: /cpp/system/operator!=/ --- ## System::operator!=(ArraySegment\, ArraySegment\) method diff --git a/english/cpp/system/operator+/_index.md b/english/cpp/system/operator+/_index.md index f6ebf777ac..954f2eac96 100644 --- a/english/cpp/system/operator+/_index.md +++ b/english/cpp/system/operator+/_index.md @@ -4,7 +4,7 @@ linktitle: operator+ second_title: Aspose.PDF for C++ API Reference description: 'System::operator+ method. String concatenation in C++.' type: docs -weight: 27500 +weight: 27600 url: /cpp/system/operator+/ --- ## System::operator+(const char_t, const String\&) method diff --git a/english/cpp/system/operator-/_index.md b/english/cpp/system/operator-/_index.md index b17d7127a2..3c024dec08 100644 --- a/english/cpp/system/operator-/_index.md +++ b/english/cpp/system/operator-/_index.md @@ -4,7 +4,7 @@ linktitle: operator- second_title: Aspose.PDF for C++ API Reference description: 'System::operator- method. Returns a new instance of Decimal class that represents a value that is the result of subtraction of the value represented by the specified Decimal object from the specified value in C++.' type: docs -weight: 28100 +weight: 28200 url: /cpp/system/operator-/ --- ## System::operator-(const T\&, const Decimal\&) method diff --git a/english/cpp/system/operator/_index.md b/english/cpp/system/operator/_index.md index c126672894..3f12738053 100644 --- a/english/cpp/system/operator/_index.md +++ b/english/cpp/system/operator/_index.md @@ -4,7 +4,7 @@ linktitle: operator/ second_title: Aspose.PDF for C++ API Reference description: 'System::operator/ method. Returns a new instance of Decimal class that represents a value that is a result of division of the specified value and the value represented by the specified Decimal object in C++.' type: docs -weight: 28500 +weight: 28600 url: /cpp/system/operator/ --- ## System::operator/ method diff --git a/english/cpp/system/operator==/_index.md b/english/cpp/system/operator==/_index.md index a5bfb25ce6..95832aa5fa 100644 --- a/english/cpp/system/operator==/_index.md +++ b/english/cpp/system/operator==/_index.md @@ -4,7 +4,7 @@ linktitle: operator== second_title: Aspose.PDF for C++ API Reference description: 'How to use operator== method of class in C++.' type: docs -weight: 32400 +weight: 32500 url: /cpp/system/operator==/ --- ## System::operator==(ArraySegment\, ArraySegment\) method diff --git a/english/cpp/system/operator_/_index.md b/english/cpp/system/operator_/_index.md index 3da99c2543..29e75e6635 100644 --- a/english/cpp/system/operator_/_index.md +++ b/english/cpp/system/operator_/_index.md @@ -4,7 +4,7 @@ linktitle: operator* second_title: Aspose.PDF for C++ API Reference description: 'System::operator* method. Returns a new instance of Decimal class that represents a value that is a result of multiplication of the specified value and the value represented by the specified Decimal object in C++.' type: docs -weight: 27400 +weight: 27500 url: /cpp/system/operator_/ --- ## System::operator* method @@ -37,7 +37,7 @@ linktitle: operator< second_title: Aspose.PDF for C++ API Reference description: 'System::operator< method. Determines if the specified value is less than the value represented by the specified Nullable object by applying operator<() to these values in C++.' type: docs -weight: 28600 +weight: 28700 url: /cpp/system/operator_/ --- ## System::operator<(const T1\&, const Nullable\\&) method @@ -131,7 +131,7 @@ linktitle: operator> second_title: Aspose.PDF for C++ API Reference description: 'System::operator> method. Determines if the specified value is greater than the value represented by the specified Nullable object by applying operator>() to these values in C++.' type: docs -weight: 34100 +weight: 34200 url: /cpp/system/operator_/ --- ## System::operator>(const T1\&, const Nullable\\&) method diff --git a/english/cpp/system/operator_=/_index.md b/english/cpp/system/operator_=/_index.md index beae0c4f60..be8f07ce39 100644 --- a/english/cpp/system/operator_=/_index.md +++ b/english/cpp/system/operator_=/_index.md @@ -4,7 +4,7 @@ linktitle: operator<= second_title: Aspose.PDF for C++ API Reference description: 'System::operator<= method. Determines if the specified value is less or equal to the value represented by the specified Nullable object by applying operator<=() to these values in C++.' type: docs -weight: 31900 +weight: 32000 url: /cpp/system/operator_=/ --- ## System::operator<=(const T1\&, const Nullable\\&) method @@ -98,7 +98,7 @@ linktitle: operator>= second_title: Aspose.PDF for C++ API Reference description: 'System::operator>= method. Determines if the specified value is greater or equal to the value represented by the specified Nullable object by applying operator>=() to these values in C++.' type: docs -weight: 34600 +weight: 34700 url: /cpp/system/operator_=/ --- ## System::operator>=(const T1\&, const Nullable\\&) method diff --git a/english/cpp/system/operator__/_index.md b/english/cpp/system/operator__/_index.md index 5e82e21e56..a5d48bb28c 100644 --- a/english/cpp/system/operator__/_index.md +++ b/english/cpp/system/operator__/_index.md @@ -4,7 +4,7 @@ linktitle: operator<< second_title: Aspose.PDF for C++ API Reference description: 'System::operator<< method. Outputs a string to the output stream using UTF-8 encoding in C++.' type: docs -weight: 29100 +weight: 29200 url: /cpp/system/operator__/ --- ## System::operator<<(std::ostream\&, const String\&) method @@ -685,7 +685,7 @@ linktitle: operator>> second_title: Aspose.PDF for C++ API Reference description: 'System::operator>> method. Gets a string from the input streamusing UTF-8 encoding in C++.' type: docs -weight: 35100 +weight: 35200 url: /cpp/system/operator__/ --- ## System::operator>>(std::istream\&, String\&) method diff --git a/english/cpp/system/predicate/_index.md b/english/cpp/system/predicate/_index.md index 557b4a05fc..2a1b51ab91 100644 --- a/english/cpp/system/predicate/_index.md +++ b/english/cpp/system/predicate/_index.md @@ -4,7 +4,7 @@ linktitle: Predicate second_title: Aspose.PDF for C++ API Reference description: 'System::Predicate typedef. Represents a pointer to a predicate - an invokable entity that accepts a single argument and returns a bool value in C++.' type: docs -weight: 12500 +weight: 12600 url: /cpp/system/predicate/ --- ## Predicate typedef diff --git a/english/cpp/system/printto/_index.md b/english/cpp/system/printto/_index.md index 1151f8a0ad..4e929d55ce 100644 --- a/english/cpp/system/printto/_index.md +++ b/english/cpp/system/printto/_index.md @@ -4,7 +4,7 @@ linktitle: PrintTo second_title: Aspose.PDF for C++ API Reference description: 'System::PrintTo method. Writes the value represented by the specified object to the specified output stream in C++.' type: docs -weight: 35300 +weight: 35400 url: /cpp/system/printto/ --- ## System::PrintTo(const Decimal\&, ::std::ostream *) method diff --git a/english/cpp/system/ref/_index.md b/english/cpp/system/ref/_index.md index 1dacd82415..601affb0e3 100644 --- a/english/cpp/system/ref/_index.md +++ b/english/cpp/system/ref/_index.md @@ -4,7 +4,7 @@ linktitle: Ref second_title: Aspose.PDF for C++ API Reference description: 'System::Ref method. Wrapper to make sure Ref(std::ref(DynamicWeakPtr)) works in C++.' type: docs -weight: 36600 +weight: 36700 url: /cpp/system/ref/ --- ## System::Ref(const std::reference_wrapper\\&) method diff --git a/english/cpp/system/rtaskptr/_index.md b/english/cpp/system/rtaskptr/_index.md index 73c076f586..6a3f6d5a74 100644 --- a/english/cpp/system/rtaskptr/_index.md +++ b/english/cpp/system/rtaskptr/_index.md @@ -4,7 +4,7 @@ linktitle: RTaskPtr second_title: Aspose.PDF for C++ API Reference description: 'System::RTaskPtr typedef. An alias for a smart pointer that points to an instance of System::Threading::Tasks::ResultTask class in C++.' type: docs -weight: 12600 +weight: 12700 url: /cpp/system/rtaskptr/ --- ## RTaskPtr typedef diff --git a/english/cpp/system/safeinvoke/_index.md b/english/cpp/system/safeinvoke/_index.md index 8cebfc02e9..5d2dd4fc66 100644 --- a/english/cpp/system/safeinvoke/_index.md +++ b/english/cpp/system/safeinvoke/_index.md @@ -4,7 +4,7 @@ linktitle: SafeInvoke second_title: Aspose.PDF for C++ API Reference description: 'System::SafeInvoke method. Implementation of ''?.'' operator translation in C++.' type: docs -weight: 36900 +weight: 37000 url: /cpp/system/safeinvoke/ --- ## System::SafeInvoke method @@ -13,7 +13,7 @@ url: /cpp/system/safeinvoke/ Implementation of '?.' operator translation. ```cpp -template static auto System::SafeInvoke(T0 expr, T1 func) +template static auto System::SafeInvoke(T0 &&expr, T1 &&func) ``` @@ -24,8 +24,8 @@ template static auto System::SafeInvoke(T0 expr, T1 fun | Parameter | Type | Description | | --- | --- | --- | -| expr | T0 | expression value. | -| func | T1 | 'WhenTrue' expression bound to functor. | +| expr | T0\&& | expression value. | +| func | T1\&& | 'WhenTrue' expression bound to functor. | ### ReturnValue diff --git a/english/cpp/system/set/_index.md b/english/cpp/system/set/_index.md index c14bde8abf..a7f2670670 100644 --- a/english/cpp/system/set/_index.md +++ b/english/cpp/system/set/_index.md @@ -4,7 +4,7 @@ linktitle: Set second_title: Aspose.PDF for C++ API Reference description: 'System::Set method. Implements ''var'' pattern translation in C++.' type: docs -weight: 37000 +weight: 37100 url: /cpp/system/set/ --- ## System::Set method diff --git a/english/cpp/system/setter_add_wrap/_index.md b/english/cpp/system/setter_add_wrap/_index.md index 8c8cb007e0..ceca431e2c 100644 --- a/english/cpp/system/setter_add_wrap/_index.md +++ b/english/cpp/system/setter_add_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_add_wrap second_title: Aspose.PDF for C++ API Reference description: 'How to use setter_add_wrap method of class in C++.' type: docs -weight: 37100 +weight: 37200 url: /cpp/system/setter_add_wrap/ --- ## System::setter_add_wrap(HostT *const, PropT(HostGetT::*)(), void(HostSetT::*)(const PropT\&), PropValT) method diff --git a/english/cpp/system/setter_and_wrap/_index.md b/english/cpp/system/setter_and_wrap/_index.md index a7cd2d124e..bc0b2cf093 100644 --- a/english/cpp/system/setter_and_wrap/_index.md +++ b/english/cpp/system/setter_and_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_and_wrap second_title: Aspose.PDF for C++ API Reference description: 'How to use setter_and_wrap method of class in C++.' type: docs -weight: 37500 +weight: 37600 url: /cpp/system/setter_and_wrap/ --- ## System::setter_and_wrap(HostT *const, PropT(HostGetT::*)(), void(HostSetT::*)(const PropT\&), PropValT) method diff --git a/english/cpp/system/setter_decrement_wrap/_index.md b/english/cpp/system/setter_decrement_wrap/_index.md index 7901c0a679..2b426aa3dd 100644 --- a/english/cpp/system/setter_decrement_wrap/_index.md +++ b/english/cpp/system/setter_decrement_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_decrement_wrap second_title: Aspose.PDF for C++ API Reference description: 'System::setter_decrement_wrap method. Translator translates C#''s pre-decrement expressions targeting instance''s property that has setter and getter defined, into invocation of this function (overload for const getter) in C++.' type: docs -weight: 37900 +weight: 38000 url: /cpp/system/setter_decrement_wrap/ --- ## System::setter_decrement_wrap(Host *const, T(HostConstGet::*)() const, void(HostSet::*)(T)) method diff --git a/english/cpp/system/setter_div_wrap/_index.md b/english/cpp/system/setter_div_wrap/_index.md index 8d752bffc6..245a4fa018 100644 --- a/english/cpp/system/setter_div_wrap/_index.md +++ b/english/cpp/system/setter_div_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_div_wrap second_title: Aspose.PDF for C++ API Reference description: 'How to use setter_div_wrap method of class in C++.' type: docs -weight: 38200 +weight: 38300 url: /cpp/system/setter_div_wrap/ --- ## System::setter_div_wrap(HostT *const, PropT(HostGetT::*)(), void(HostSetT::*)(const PropT\&), PropValT) method diff --git a/english/cpp/system/setter_exor_wrap/_index.md b/english/cpp/system/setter_exor_wrap/_index.md index 6c8913a892..49d38c77e0 100644 --- a/english/cpp/system/setter_exor_wrap/_index.md +++ b/english/cpp/system/setter_exor_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_exor_wrap second_title: Aspose.PDF for C++ API Reference description: 'How to use setter_exor_wrap method of class in C++.' type: docs -weight: 38600 +weight: 38700 url: /cpp/system/setter_exor_wrap/ --- ## System::setter_exor_wrap(HostT *const, PropT(HostGetT::*)(), void(HostSetT::*)(const PropT\&), PropValT) method diff --git a/english/cpp/system/setter_increment_wrap/_index.md b/english/cpp/system/setter_increment_wrap/_index.md index 1fe3e7a351..e2d632916f 100644 --- a/english/cpp/system/setter_increment_wrap/_index.md +++ b/english/cpp/system/setter_increment_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_increment_wrap second_title: Aspose.PDF for C++ API Reference description: 'System::setter_increment_wrap method. Translator translates C#''s increment expressions targeting class'' property that has setter and getter defined, into invocation of this function in C++.' type: docs -weight: 39000 +weight: 39100 url: /cpp/system/setter_increment_wrap/ --- ## System::setter_increment_wrap(Host *const, T(HostGet::*)(), void(HostSet::*)(T)) method diff --git a/english/cpp/system/setter_mod_wrap/_index.md b/english/cpp/system/setter_mod_wrap/_index.md index 76c1027486..10e0a3216b 100644 --- a/english/cpp/system/setter_mod_wrap/_index.md +++ b/english/cpp/system/setter_mod_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_mod_wrap second_title: Aspose.PDF for C++ API Reference description: 'How to use setter_mod_wrap method of class in C++.' type: docs -weight: 39200 +weight: 39300 url: /cpp/system/setter_mod_wrap/ --- ## System::setter_mod_wrap(HostT *const, PropT(HostGetT::*)(), void(HostSetT::*)(const PropT\&), PropValT) method diff --git a/english/cpp/system/setter_mul_wrap/_index.md b/english/cpp/system/setter_mul_wrap/_index.md index cb9537cc58..2eded9f9bb 100644 --- a/english/cpp/system/setter_mul_wrap/_index.md +++ b/english/cpp/system/setter_mul_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_mul_wrap second_title: Aspose.PDF for C++ API Reference description: 'How to use setter_mul_wrap method of class in C++.' type: docs -weight: 39600 +weight: 39700 url: /cpp/system/setter_mul_wrap/ --- ## System::setter_mul_wrap(HostT *const, PropT(HostGetT::*)(), void(HostSetT::*)(const PropT\&), PropValT) method diff --git a/english/cpp/system/setter_or_wrap/_index.md b/english/cpp/system/setter_or_wrap/_index.md index a44a0710c7..7b698559da 100644 --- a/english/cpp/system/setter_or_wrap/_index.md +++ b/english/cpp/system/setter_or_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_or_wrap second_title: Aspose.PDF for C++ API Reference description: 'How to use setter_or_wrap method of class in C++.' type: docs -weight: 40000 +weight: 40100 url: /cpp/system/setter_or_wrap/ --- ## System::setter_or_wrap(HostT *const, PropT(HostGetT::*)(), void(HostSetT::*)(const PropT\&), PropValT) method diff --git a/english/cpp/system/setter_post_decrement_wrap/_index.md b/english/cpp/system/setter_post_decrement_wrap/_index.md index 23cda7e300..94d636f234 100644 --- a/english/cpp/system/setter_post_decrement_wrap/_index.md +++ b/english/cpp/system/setter_post_decrement_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_post_decrement_wrap second_title: Aspose.PDF for C++ API Reference description: 'System::setter_post_decrement_wrap method. Translator translates C#''s post-decrement expressions targeting instance''s property that has setter and getter defined, into invocation of this function (overload for const getter) in C++.' type: docs -weight: 40400 +weight: 40500 url: /cpp/system/setter_post_decrement_wrap/ --- ## System::setter_post_decrement_wrap(Host *const, T(HostConstGet::*)() const, void(HostSet::*)(T)) method diff --git a/english/cpp/system/setter_post_increment_wrap/_index.md b/english/cpp/system/setter_post_increment_wrap/_index.md index 101b2c22ca..a3fe02f453 100644 --- a/english/cpp/system/setter_post_increment_wrap/_index.md +++ b/english/cpp/system/setter_post_increment_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_post_increment_wrap second_title: Aspose.PDF for C++ API Reference description: 'System::setter_post_increment_wrap method. Translator translates C#''s post-increment expressions targeting instance''s property that has setter and getter defined, into invocation of this function (overload for const getter) in C++.' type: docs -weight: 40700 +weight: 40800 url: /cpp/system/setter_post_increment_wrap/ --- ## System::setter_post_increment_wrap(Host *const, T(HostConstGet::*)() const, void(HostSet::*)(T)) method diff --git a/english/cpp/system/setter_shl_wrap/_index.md b/english/cpp/system/setter_shl_wrap/_index.md index 7ff74429a4..45fb5866bd 100644 --- a/english/cpp/system/setter_shl_wrap/_index.md +++ b/english/cpp/system/setter_shl_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_shl_wrap second_title: Aspose.PDF for C++ API Reference description: 'How to use setter_shl_wrap method of class in C++.' type: docs -weight: 41000 +weight: 41100 url: /cpp/system/setter_shl_wrap/ --- ## System::setter_shl_wrap(HostT *const, PropT(HostGetT::*)(), void(HostSetT::*)(const PropT\&), PropValT) method diff --git a/english/cpp/system/setter_shr_wrap/_index.md b/english/cpp/system/setter_shr_wrap/_index.md index a133e7ff93..5922fbf5c5 100644 --- a/english/cpp/system/setter_shr_wrap/_index.md +++ b/english/cpp/system/setter_shr_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_shr_wrap second_title: Aspose.PDF for C++ API Reference description: 'How to use setter_shr_wrap method of class in C++.' type: docs -weight: 41400 +weight: 41500 url: /cpp/system/setter_shr_wrap/ --- ## System::setter_shr_wrap(HostT *const, PropT(HostGetT::*)(), void(HostSetT::*)(const PropT\&), PropValT) method diff --git a/english/cpp/system/setter_sub_wrap/_index.md b/english/cpp/system/setter_sub_wrap/_index.md index 21f6b900e4..a840c994c5 100644 --- a/english/cpp/system/setter_sub_wrap/_index.md +++ b/english/cpp/system/setter_sub_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_sub_wrap second_title: Aspose.PDF for C++ API Reference description: 'How to use setter_sub_wrap method of class in C++.' type: docs -weight: 41800 +weight: 41900 url: /cpp/system/setter_sub_wrap/ --- ## System::setter_sub_wrap(HostT *const, PropT(HostGetT::*)(), void(HostSetT::*)(const PropT\&), PropValT) method diff --git a/english/cpp/system/setter_wrap/_index.md b/english/cpp/system/setter_wrap/_index.md index 2b45d1b0df..3aebb4d497 100644 --- a/english/cpp/system/setter_wrap/_index.md +++ b/english/cpp/system/setter_wrap/_index.md @@ -4,7 +4,7 @@ linktitle: setter_wrap second_title: Aspose.PDF for C++ API Reference description: 'System::setter_wrap method. Overload for instance setter functions with type conversion in C++.' type: docs -weight: 42200 +weight: 42300 url: /cpp/system/setter_wrap/ --- ## System::setter_wrap(Host *const, void(HostSet::*)(T2), T) method diff --git a/english/cpp/system/sharedptr/_index.md b/english/cpp/system/sharedptr/_index.md index 3431a0c150..c6c731ca7b 100644 --- a/english/cpp/system/sharedptr/_index.md +++ b/english/cpp/system/sharedptr/_index.md @@ -4,7 +4,7 @@ linktitle: SharedPtr second_title: Aspose.PDF for C++ API Reference description: 'System::SharedPtr typedef. Alias for smart pointer widely used in the library in C++.' type: docs -weight: 12700 +weight: 12800 url: /cpp/system/sharedptr/ --- ## SharedPtr typedef diff --git a/english/cpp/system/static_pointer_cast/_index.md b/english/cpp/system/static_pointer_cast/_index.md index 9bed6a3856..6297f7a9e8 100644 --- a/english/cpp/system/static_pointer_cast/_index.md +++ b/english/cpp/system/static_pointer_cast/_index.md @@ -4,7 +4,7 @@ linktitle: static_pointer_cast second_title: Aspose.PDF for C++ API Reference description: 'System::static_pointer_cast method. Casts smart pointers using static_cast in C++.' type: docs -weight: 42400 +weight: 42500 url: /cpp/system/static_pointer_cast/ --- ## System::static_pointer_cast method diff --git a/english/cpp/system/staticcast/_index.md b/english/cpp/system/staticcast/_index.md index 7379ed278b..32470cd582 100644 --- a/english/cpp/system/staticcast/_index.md +++ b/english/cpp/system/staticcast/_index.md @@ -4,7 +4,7 @@ linktitle: StaticCast second_title: Aspose.PDF for C++ API Reference description: 'System::StaticCast method. Performs static cast on non-pointer objects in C++.' type: docs -weight: 42500 +weight: 42600 url: /cpp/system/staticcast/ --- ## System::StaticCast(const TFrom\&) method diff --git a/english/cpp/system/staticcast_noexcept/_index.md b/english/cpp/system/staticcast_noexcept/_index.md index d24e68828d..68d4d169d0 100644 --- a/english/cpp/system/staticcast_noexcept/_index.md +++ b/english/cpp/system/staticcast_noexcept/_index.md @@ -4,7 +4,7 @@ linktitle: StaticCast_noexcept second_title: Aspose.PDF for C++ API Reference description: 'System::StaticCast_noexcept method. Performs static cast on Exception objects in C++.' type: docs -weight: 43400 +weight: 43500 url: /cpp/system/staticcast_noexcept/ --- ## System::StaticCast_noexcept(const TFrom\&) method diff --git a/english/cpp/system/staticcastarray/_index.md b/english/cpp/system/staticcastarray/_index.md index 504b587996..88e3b77f5e 100644 --- a/english/cpp/system/staticcastarray/_index.md +++ b/english/cpp/system/staticcastarray/_index.md @@ -4,7 +4,7 @@ linktitle: StaticCastArray second_title: Aspose.PDF for C++ API Reference description: 'System::StaticCastArray method. Performs casting of elements of the specified array to different type. Override for cases then From is SmartPtr obj in C++.' type: docs -weight: 43800 +weight: 43900 url: /cpp/system/staticcastarray/ --- ## System::StaticCastArray(const System::SharedPtr\\>\&) method diff --git a/english/cpp/system/streamptr/_index.md b/english/cpp/system/streamptr/_index.md index 75c69ceae4..57aa706ed8 100644 --- a/english/cpp/system/streamptr/_index.md +++ b/english/cpp/system/streamptr/_index.md @@ -4,7 +4,7 @@ linktitle: StreamPtr second_title: Aspose.PDF for C++ API Reference description: 'System::StreamPtr typedef. An alias for a smart pointer that points to an instance of System::IO::Stream class in C++.' type: docs -weight: 12800 +weight: 12900 url: /cpp/system/streamptr/ --- ## StreamPtr typedef diff --git a/english/cpp/system/streamreaderptr/_index.md b/english/cpp/system/streamreaderptr/_index.md index 7fd6ab3bde..e2ea896d4e 100644 --- a/english/cpp/system/streamreaderptr/_index.md +++ b/english/cpp/system/streamreaderptr/_index.md @@ -4,7 +4,7 @@ linktitle: StreamReaderPtr second_title: Aspose.PDF for C++ API Reference description: 'System::StreamReaderPtr typedef. An alias for a smart pointer that points to an instance of System::IO::StreamReader class in C++.' type: docs -weight: 12900 +weight: 13000 url: /cpp/system/streamreaderptr/ --- ## StreamReaderPtr typedef diff --git a/english/cpp/system/streamwriterptr/_index.md b/english/cpp/system/streamwriterptr/_index.md index b7efee3b1a..998d8e8e9a 100644 --- a/english/cpp/system/streamwriterptr/_index.md +++ b/english/cpp/system/streamwriterptr/_index.md @@ -4,7 +4,7 @@ linktitle: StreamWriterPtr second_title: Aspose.PDF for C++ API Reference description: 'System::StreamWriterPtr typedef. An alias for a smart pointer that points to an instance of System::IO::StreamWriter class in C++.' type: docs -weight: 13000 +weight: 13100 url: /cpp/system/streamwriterptr/ --- ## StreamWriterPtr typedef diff --git a/english/cpp/system/stringcomparerptr/_index.md b/english/cpp/system/stringcomparerptr/_index.md index e52fa2bc3b..d15b9787e6 100644 --- a/english/cpp/system/stringcomparerptr/_index.md +++ b/english/cpp/system/stringcomparerptr/_index.md @@ -4,7 +4,7 @@ linktitle: StringComparerPtr second_title: Aspose.PDF for C++ API Reference description: 'System::StringComparerPtr typedef. An alias for a shared pointer to an instance of StringComparer class in C++.' type: docs -weight: 13100 +weight: 13200 url: /cpp/system/stringcomparerptr/ --- ## StringComparerPtr typedef diff --git a/english/cpp/system/taskptr/_index.md b/english/cpp/system/taskptr/_index.md index d285d5f1f6..c80a1c8128 100644 --- a/english/cpp/system/taskptr/_index.md +++ b/english/cpp/system/taskptr/_index.md @@ -4,7 +4,7 @@ linktitle: TaskPtr second_title: Aspose.PDF for C++ API Reference description: 'System::TaskPtr typedef. An alias for a smart pointer that points to an instance of System::Threading::Tasks::Task class in C++.' type: docs -weight: 13200 +weight: 13300 url: /cpp/system/taskptr/ --- ## TaskPtr typedef diff --git a/english/cpp/system/tietuple/_index.md b/english/cpp/system/tietuple/_index.md index e9d9ec4d7c..82fbdc349a 100644 --- a/english/cpp/system/tietuple/_index.md +++ b/english/cpp/system/tietuple/_index.md @@ -4,7 +4,7 @@ linktitle: TieTuple second_title: Aspose.PDF for C++ API Reference description: 'System::TieTuple method. Creates tuple bound to some values in C++.' type: docs -weight: 44000 +weight: 44100 url: /cpp/system/tietuple/ --- ## System::TieTuple method diff --git a/english/cpp/system/timezoneinfoptr/_index.md b/english/cpp/system/timezoneinfoptr/_index.md index 1ab6b4ad6b..84f5177979 100644 --- a/english/cpp/system/timezoneinfoptr/_index.md +++ b/english/cpp/system/timezoneinfoptr/_index.md @@ -4,7 +4,7 @@ linktitle: TimeZoneInfoPtr second_title: Aspose.PDF for C++ API Reference description: 'System::TimeZoneInfoPtr typedef. Alias for shared pointer to an instance of TimeZoneInfo class in C++.' type: docs -weight: 13300 +weight: 13400 url: /cpp/system/timezoneinfoptr/ --- ## TimeZoneInfoPtr typedef diff --git a/english/cpp/system/timezoneptr/_index.md b/english/cpp/system/timezoneptr/_index.md index 68d19e5f1e..9744da69c7 100644 --- a/english/cpp/system/timezoneptr/_index.md +++ b/english/cpp/system/timezoneptr/_index.md @@ -4,7 +4,7 @@ linktitle: TimeZonePtr second_title: Aspose.PDF for C++ API Reference description: 'System::TimeZonePtr typedef. Shared pointer to an instance of TimeZone class in C++.' type: docs -weight: 13400 +weight: 13500 url: /cpp/system/timezoneptr/ --- ## TimeZonePtr typedef diff --git a/english/cpp/system/valuetuple/_index.md b/english/cpp/system/valuetuple/_index.md index 5e878637a8..1e72b0d938 100644 --- a/english/cpp/system/valuetuple/_index.md +++ b/english/cpp/system/valuetuple/_index.md @@ -21,6 +21,7 @@ templateclass ValueTuple : public System::Details::BoxableObjectBa | Method | Description | | --- | --- | | [Equals](./equals/)(SharedPtr\) | Determines if the current and the specified objects are identical. | +| [Equals](./equals/)(const ValueTuple\&) | | | [GetHashCode](./gethashcode/)() const | | | [GetType](./gettype/)() const | | | [Item](./item/)() | Gets the reference to value of the [ValueTuple](./) object's component. | diff --git a/english/cpp/system/valuetuple/equals/_index.md b/english/cpp/system/valuetuple/equals/_index.md index 043097efb4..b96ea4af65 100644 --- a/english/cpp/system/valuetuple/equals/_index.md +++ b/english/cpp/system/valuetuple/equals/_index.md @@ -2,12 +2,27 @@ title: System::ValueTuple::Equals method linktitle: Equals second_title: Aspose.PDF for C++ API Reference -description: 'System::ValueTuple::Equals method. Determines if the current and the specified objects are identical in C++.' +description: 'How to use Equals method of System::ValueTuple class in C++.' type: docs weight: 200 url: /cpp/system/valuetuple/equals/ --- -## ValueTuple::Equals method +## ValueTuple::Equals(const ValueTuple\&) method + + + + +```cpp +bool System::ValueTuple::Equals(const ValueTuple &other) +``` + +## See Also + +* Class [ValueTuple](../) +* Class [ValueTuple](../) +* Namespace [System](../../) +* Library [Aspose.PDF for C++](../../../) +## ValueTuple::Equals(SharedPtr\) method Determines if the current and the specified objects are identical. diff --git a/english/cpp/system/with/_index.md b/english/cpp/system/with/_index.md index 77c443497b..0f2934439a 100644 --- a/english/cpp/system/with/_index.md +++ b/english/cpp/system/with/_index.md @@ -4,7 +4,7 @@ linktitle: With second_title: Aspose.PDF for C++ API Reference description: 'System::With method. Clones reference record and applies initializer functor to it in C++.' type: docs -weight: 44100 +weight: 44200 url: /cpp/system/with/ --- ## System::With(const SharedPtr\\&, const A\&) method diff --git a/english/go-cpp/_index.md b/english/go-cpp/_index.md index 02ec8f9a1a..df5d740994 100644 --- a/english/go-cpp/_index.md +++ b/english/go-cpp/_index.md @@ -83,6 +83,7 @@ type Document struct { | [OptimizeFileSize](./organize/optimizefilesize/) | Optimize size of PDF-document with image compression quality. | | [RemoveTextHeaders](./organize/removetextheaders/) | Remove text headers from PDF-document. | | [RemoveTextFooters](./organize/removetextfooters/) | Remove text footers from PDF-document. | +| [Crop](./organize/crop/) | Crop pages of a PDF-document. | | [PageRotate](./organize/pagerotate/) | Rotate page. | | [PageSetSize](./organize/pagesetsize/) | Set size of page. | | [PageGrayscale](./organize/pagegrayscale/) | Convert page to black and white. | @@ -99,6 +100,7 @@ type Document struct { | [PageAddWatermark](./organize/pageaddwatermark/) | Add watermark on page. | | [PageRemoveTextHeaders](./organize/pageremovetextheaders/) | Remove text headers in page. | | [PageRemoveTextFooters](./organize/pageremovetextfooters/) | Remove text footers in page. | +| [PageCrop](./organize/pagecrop/) | Crop page. | ## Core PDF functions diff --git a/english/go-cpp/organize/_index.md b/english/go-cpp/organize/_index.md index e7f87be5d5..6347f9a707 100644 --- a/english/go-cpp/organize/_index.md +++ b/english/go-cpp/organize/_index.md @@ -36,6 +36,7 @@ url: /go-cpp/organize/ | [OptimizeFileSize](./optimizefilesize/) | Optimize size of PDF-document with image compression quality. | | [RemoveTextHeaders](./removetextheaders/) | Remove text headers from PDF-document. | | [RemoveTextFooters](./removetextfooters/) | Remove text footers from PDF-document. | +| [Crop](./crop/) | Crop pages of a PDF-document. | | [PageRotate](./pagerotate/) | Rotate page. | | [PageSetSize](./pagesetsize/) | Set size of page. | | [PageGrayscale](./pagegrayscale/) | Convert page to black and white. | @@ -52,6 +53,7 @@ url: /go-cpp/organize/ | [PageAddWatermark](./pageaddwatermark/) | Add watermark on page. | | [PageRemoveTextHeaders](./pageremovetextheaders/) | Remove text headers in page. | | [PageRemoveTextFooters](./pageremovetextfooters/) | Remove text footers in page. | +| [PageCrop](./pagecrop/) | Crop page. | ## Detailed Description diff --git a/english/go-cpp/organize/crop/_index.md b/english/go-cpp/organize/crop/_index.md new file mode 100644 index 0000000000..7fd7ea63b8 --- /dev/null +++ b/english/go-cpp/organize/crop/_index.md @@ -0,0 +1,48 @@ +--- +title: "Crop" +second_title: Aspose.PDF for Go via C++ +description: "Crop pages of a PDF-document." +type: docs +url: /go-cpp/organize/crop/ +--- + +_Crop pages of a PDF-document._ + +```go +func (document *Document) Crop(margin float64) error +``` + +**Parameters**: + * **margin** - page margin + +**Return**: + * **error** - contains an error or nil if absent + + +**Example**: +```go +package main + +import "github.com/aspose-pdf/aspose-pdf-go-cpp" +import "log" + +func main() { + // Open(filename string) opens a PDF-document with filename + pdf, err := asposepdf.Open("sample.pdf") + if err != nil { + log.Fatal(err) + } + // Close() releases allocated resources for PDF-document + defer pdf.Close() + // Crop(margin float64) crops pages of a PDF-document + err = pdf.Crop(0) + if err != nil { + log.Fatal(err) + } + // SaveAs(filename string) saves previously opened PDF-document with new filename + err = pdf.SaveAs("sample_Crop.pdf") + if err != nil { + log.Fatal(err) + } +} +``` diff --git a/english/go-cpp/organize/pagecrop/_index.md b/english/go-cpp/organize/pagecrop/_index.md new file mode 100644 index 0000000000..146a99327d --- /dev/null +++ b/english/go-cpp/organize/pagecrop/_index.md @@ -0,0 +1,49 @@ +--- +title: "PageCrop" +second_title: Aspose.PDF for Go via C++ +description: "Crop page." +type: docs +url: /go-cpp/organize/pagecrop/ +--- + +_Crop page._ + +```go +func (document *Document) PageCrop(num int32, margin float64) error +``` + +**Parameters**: + * **num** - page number of the PDF-document + * **margin** - page margin + +**Return**: + * **error** - contains an error or nil if absent + + +**Example**: +```go +package main + +import "github.com/aspose-pdf/aspose-pdf-go-cpp" +import "log" + +func main() { + // Open(filename string) opens a PDF-document with filename + pdf, err := asposepdf.Open("sample.pdf") + if err != nil { + log.Fatal(err) + } + // Close() releases allocated resources for PDF-document + defer pdf.Close() + // PageCrop(num int32, margin float64) cropes page + err = pdf.PageCrop(1, 11.3) + if err != nil { + log.Fatal(err) + } + // SaveAs(filename string) saves previously opened PDF-document with new filename + err = pdf.SaveAs("sample_page1_Crop.pdf") + if err != nil { + log.Fatal(err) + } +} +``` diff --git a/english/rust-cpp/_index.md b/english/rust-cpp/_index.md index 635af66ec7..46077ba145 100644 --- a/english/rust-cpp/_index.md +++ b/english/rust-cpp/_index.md @@ -82,6 +82,7 @@ pub struct Document { /* private fields */ } | [optimize_file_size](./organize/optimize_file_size/) | Optimize size of PDF-document with image compression quality. | | [remove_text_headers](./organize/remove_text_headers/) | Remove text headers from PDF-document. | | [remove_text_footers](./organize/remove_text_footers/) | Remove text footers from PDF-document. | +| [crop](./organize/crop/) | Crop pages of a PDF-document. | | [page_rotate](./organize/page_rotate/) | Rotate a page in the PDF-document. | | [page_set_size](./organize/page_set_size/) | Set the size of a page in the PDF-document. | | [page_grayscale](./organize/page_grayscale/) | Convert page to black and white. | @@ -98,6 +99,7 @@ pub struct Document { /* private fields */ } | [page_add_watermark](./organize/page_add_watermark/) | Add watermark on page. | | [page_remove_text_headers](./organize/page_remove_text_headers/) | Remove text headers in page. | | [page_remove_text_footers](./organize/page_remove_text_footers/) | Remove text footers in page. | +| [page_crop](./organize/page_crop/) | Crop a page. | ## Core PDF functions diff --git a/english/rust-cpp/organize/_index.md b/english/rust-cpp/organize/_index.md index 278ab6b755..639af06b78 100644 --- a/english/rust-cpp/organize/_index.md +++ b/english/rust-cpp/organize/_index.md @@ -36,6 +36,7 @@ url: /rust-cpp/organize/ | [optimize_file_size](./optimize_file_size/) | Optimize size of PDF-document with image compression quality. | | [remove_text_headers](./remove_text_headers/) | Remove text headers from PDF-document. | | [remove_text_footers](./remove_text_footers/) | Remove text footers from PDF-document. | +| [crop](./crop/) | Crop pages of a PDF-document. | | [page_rotate](./page_rotate/) | Rotate a page in the PDF-document. | | [page_set_size](./page_set_size/) | Set the size of a page in the PDF-document. | | [page_grayscale](./page_grayscale/) | Convert page to black and white. | @@ -52,6 +53,7 @@ url: /rust-cpp/organize/ | [page_add_watermark](./page_add_watermark/) | Add watermark on page. | | [page_remove_text_headers](./page_remove_text_headers/) | Remove text headers in page. | | [page_remove_text_footers](./page_remove_text_footers/) | Remove text footers in page. | +| [page_crop](./page_crop/) | Crop a page. | ## Detailed Description diff --git a/english/rust-cpp/organize/crop/_index.md b/english/rust-cpp/organize/crop/_index.md new file mode 100644 index 0000000000..e8648a7ad1 --- /dev/null +++ b/english/rust-cpp/organize/crop/_index.md @@ -0,0 +1,40 @@ +--- +title: "crop" +second_title: Aspose.PDF for Rust via C++ +description: "Crops pages of a PDF-document." +type: docs +url: /rust-cpp/organize/crop/ +--- + +_Crops pages of a PDF-document._ + +```rust +pub fn crop(&self, margin: f64) -> Result<(), PdfError> +``` + +**Arguments** + * **margin** - pages margins + +**Returns** + * **Ok(())** - if the operation succeeds + * **Err(PdfError)** - if the operation fails + +**Example** + +```rust +use asposepdf::Document; + +fn main() -> Result<(), Box> { + // Open a PDF-document with filename + let pdf = Document::open("sample.pdf")?; + + // Crop pages of a PDF-document + pdf.crop(10.5)?; + + // Save the previously opened PDF-document with new filename + pdf.save_as("sample_crop.pdf")?; + + Ok(()) +} + +``` \ No newline at end of file diff --git a/english/rust-cpp/organize/page_crop/_index.md b/english/rust-cpp/organize/page_crop/_index.md new file mode 100644 index 0000000000..94c764362e --- /dev/null +++ b/english/rust-cpp/organize/page_crop/_index.md @@ -0,0 +1,41 @@ +--- +title: "page_crop" +second_title: Aspose.PDF for Rust via C++ +description: "Crops a page." +type: docs +url: /rust-cpp/organize/page_crop/ +--- + +_Crops a page._ + +```rust +pub fn page_crop(&self, num: i32, margin: f64) -> Result<(), PdfError> +``` + +**Arguments** + * **num** - the page number (1-based) + * **margin** - page margins + +**Returns** + * **Ok(())** - if the operation succeeds + * **Err(PdfError)** - if the operation fails + +**Example** + +```rust +use asposepdf::Document; + +fn main() -> Result<(), Box> { + // Open a PDF-document from file + let pdf = Document::open("sample.pdf")?; + + // Crop a page + pdf.page_crop(1, 1.0)?; + + // Save the previously opened PDF-document with new filename + pdf.save_as("sample_page1_crop.pdf")?; + + Ok(()) +} + +``` \ No newline at end of file