Sha256: 81a6b0c8ad46bc295058178ec3c89f92356d79cbf9c29fc99ba4751c5ee938f0
Contents?: true
Size: 599 Bytes
Versions: 8
Compression:
Stored size: 599 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 = ElementFrom(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
8 entries across 8 versions & 1 rubygems