Sha256: 8ecd3aa64babd2478af6851e40f7f8c89870194008f49f6557eda6e181803d3a
Contents?: true
Size: 592 Bytes
Versions: 10
Compression:
Stored size: 592 Bytes
Contents
#include "Stdafx.h" extern "C" { __declspec(dllexport) int Text_GetText(ElementInformationPtr element, char* text, const int textLength, char* errorInfo, const int errorInfoLength) { try { auto theText = Find(element)->As<TextPattern^>(TextPattern::Pattern)->DocumentRange->GetText(-1); if( NULL != text ) { StringHelper::CopyToUnmanagedString(theText, text, textLength); } return theText->Length; } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e->Message, errorInfo, errorInfoLength); return 0; } } }
Version data entries
10 entries across 10 versions & 1 rubygems